/devsaba

Primary LanguageTypeScript

Dev SABA

Snomiao's Development server

Roadmap

Meta:

docker run -it --rm
-v /root/.ssh:/root/.ssh
-p 8000:8000
snomiao/snocode
https://github.com/snomiao/code-js

Usages

  1. 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.

  1. 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

Updates 2024-04-12

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