Spaces:
Runtime error
Runtime error
Download Dockerfile from himanshu-711/vs_code_on_windows: direct link, hf CLI and curl.
- Browser
- Download file 669 Bytes
-
https://huggingface.co/spaces/himanshu-711/vs_code_on_windows/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/himanshu-711/vs_code_on_windows/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/himanshu-711/vs_code_on_windows/resolve/main/Dockerfile
669 Bytes
| FROM lscr.io/linuxserver/code-server:latest | |
| # HF Spaces routing expects your app on 7860 | |
| EXPOSE 7860 | |
| # Optional: better timezone for logs (change if you want) | |
| ENV TZ=Asia/Kolkata | |
| # Put code-server config + workspace in /data so it persists IF you enabled persistent storage | |
| # HF mounts persistent disk at /data when enabled in Space Settings. :contentReference[oaicite:3]{index=3} | |
| ENV DEFAULT_WORKSPACE=/data/workspace | |
| # IMPORTANT: | |
| # - If PASSWORD is not set, code-server may run without auth (not recommended). | |
| # - We'll set PASSWORD via HF Space Secrets. | |
| # linuxserver/code-server supports PASSWORD/HASHED_PASSWORD env vars. :contentReference[oaicite:4]{index=4} | |