Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 529 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 529 Bytes

jh-code-server

Getting VSCode code-server running inside JupyterHub

Build the Docker image:

docker build -t jh-code-server .

Add to your JupyterHub config, e.g.:

c.DockerSpawner.image = 'jh-code-server:latest'
c.DockerSpawner.cmd = ["python3", "-m", "jhsingle_native_proxy.main", "--destport=0", "/usr/bin/code-server", "{--}auth", "none", "{--}bind-addr", "0.0.0.0:{port}", "."]

To do:

Think about how to mount the user's home folder.

Pull requests are welcome.