Snomiao's Development server
Meta:
docker run -it --rm
-v /root/.ssh:/root/.ssh
-p 8000:8000
snomiao/snocode
https://github.com/snomiao/code-js
- Use by docker run:
docker run -v PATH_TO_YOUR_WORKSPACE:/code/ --rm -it -p 203:8000 ghcr.io/snomiao/code-js
Then access http://localhost:203, you will get an NodeJS development environment with bun and pnpm installed.
- By docker compose
version: "3"
services:
code-js:
image: snomiao/devsaba:js
build: .
environment:
VSCODE_SERVER_PORT: 80
volumes:
- ./home:/home/
# link docker sock here if you need
- /var/run/docker.sock:/var/run/docker.sock
Then access http://code-js:80, you will get an NodeJS development environment
vscode-server
is deprecated due to the broken of command vscode-server serve-local
. See - Installing code-server downloads a HTML file · Issue #8768 · microsoft/vscode-remote-release