Spaces:
Sleeping
Sleeping
Download Dockerfile from Foolnah4i4i4/vscode: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/spaces/Foolnah4i4i4/vscode/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Foolnah4i4i4/vscode/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Foolnah4i4i4/vscode/resolve/main/Dockerfile
494 Bytes
| FROM node:20-slim | |
| RUN apt-get update && apt-get install -y curl tar && \ | |
| curl -fL "https://update.code.visualstudio.com/latest/server-linux-x64-web/stable" -o /tmp/vscode.tar.gz && \ | |
| mkdir -p /vscode && \ | |
| tar -xzf /tmp/vscode.tar.gz -C /vscode --strip-components=1 && \ | |
| rm /tmp/vscode.tar.gz | |
| EXPOSE 7860 | |
| CMD ["node", "/vscode/out/server-main.js", "--host", "0.0.0.0", "--port", "7860", "--without-connection-token", "--accept-server-license-terms", "--disable-workspace-trust"] | |