Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 656 Bytes

File metadata and controls

16 lines (10 loc) · 656 Bytes

webcode

Essentially a soft version of Codespaces(https://github.com/codespaces) by github.Create a new repo from this template to make custom versions.

Create personal docker image

Run the following to genrate the list of extentions to use while building the image. In case docker build fails remove the entension from entension.txt file

code --list-extensions >> extensions.txt

To build the docker image

docker build . -t mycodeserver

To run image

docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" -u "$(id -u):$(id -g)" mycodeserver --auth none /home/coder/project

All credits go to https://github.com/cdr/code-server