mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
self update openvscode-server to latest version (#227)
* Self-Updates to latest version on Redeploy * made token variable optional Co-authored-by: Milo <50248166+Milo123459@users.noreply.github.com> Co-authored-by: Milo <50248166+Milo123459@users.noreply.github.com>
This commit is contained in:
4
examples/openvscode-server/Dockerfile
Normal file
4
examples/openvscode-server/Dockerfile
Normal file
@@ -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}", "--" ]
|
||||
@@ -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.
|
||||
|
||||
[](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)
|
||||
|
||||
[](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
|
||||
|
||||
Reference in New Issue
Block a user