https://github.com/tonybenoy/webcode
Run your own codespaces
https://github.com/tonybenoy/webcode
code codespaces docker docker-image vscode webcode
Last synced: 10 months ago
JSON representation
Run your own codespaces
- Host: GitHub
- URL: https://github.com/tonybenoy/webcode
- Owner: tonybenoy
- License: gpl-3.0
- Created: 2020-10-09T20:27:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-29T21:45:32.000Z (about 5 years ago)
- Last Synced: 2025-01-30T12:32:23.003Z (12 months ago)
- Topics: code, codespaces, docker, docker-image, vscode, webcode
- Language: Dockerfile
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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