diff --git a/examples/openvscode-server/Dockerfile b/examples/openvscode-server/Dockerfile new file mode 100644 index 0000000..cd9da2f --- /dev/null +++ b/examples/openvscode-server/Dockerfile @@ -0,0 +1,4 @@ +# created by GrimZZZ-404 & Milo123459 +ARG RELEASE_TAG=latest PORT TOKEN +FROM gitpod/openvscode-server:${RELEASE_TAG} +ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/server.sh --port ${PORT} --connection-token ${TOKEN}", "--" ] \ No newline at end of file diff --git a/examples/openvscode-server/README.md b/examples/openvscode-server/README.md index ffcb325..7c27141 100644 --- a/examples/openvscode-server/README.md +++ b/examples/openvscode-server/README.md @@ -12,8 +12,7 @@ tags: This example is for the [OpenVSCode Server](https://github.com/gitpod-io/openvscode-server), a version of VS Code that runs a server on a remote machine and allows access through a modern web browser. It's based on the very same architecture used by [Gitpod](https://www.gitpod.io) or [GitHub Codespaces](https://github.com) at scale. -[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fgitpod-io%2Fopenvscode-releases&envs=RELEASE_TAG%2CPORT&RELEASE_TAGDefault=openvscode-server-v1.60.0&PORTDefault=3000) - +[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Frailwayapp%2Fexamples%2Ftree%2Fmaster%2Fexamples%2Fopenvscode-server&envs=PORT%2CTOKEN%2CRELEASE_TAG&optionalEnvs=TOKEN&TOKENDesc=Connection+token+-+leave+blank+to+automatically+geneate+one.&RELEASE_TAGDesc=Use+%22latest%22+for+the+latest+stable+release+and+%22insiders%22+for+the+latest+insider+release&PORTDefault=3000&RELEASE_TAGDefault=latest) ## ✨ Features - VS Code in a browser