Spaces:
Paused
Paused
Download Dockerfile from tamdang1350/ssh: direct link, hf CLI and curl.
- Browser
- Download file 679 Bytes
-
https://huggingface.co/spaces/tamdang1350/ssh/resolve/refs%2Fpr%2F2/Dockerfile
- Command line
-
hf download hf://spaces/tamdang1350/ssh@refs/pr/2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/tamdang1350/ssh/resolve/refs%2Fpr%2F2/Dockerfile
679 Bytes
| FROM codercom/code-server:latest | |
| USER root | |
| RUN apt-get update && apt-get install -y \ | |
| python3 python3-pip git wget curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip3 install --no-cache-dir --break-system-packages \ | |
| numpy pandas matplotlib scikit-learn | |
| # VS Code CLI từ GitHub Releases | |
| RUN curl -fsSL "https://update.code.visualstudio.com/latest/cli-linux-x64/stable" \ | |
| -o /tmp/vscode-cli.tar.gz && \ | |
| tar -xf /tmp/vscode-cli.tar.gz -C /usr/local/bin && \ | |
| rm /tmp/vscode-cli.tar.gz && \ | |
| code --version | |
| RUN mkdir -p /workspace | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| WORKDIR /workspace | |
| EXPOSE 7860 | |
| ENTRYPOINT [] | |
| CMD ["/bin/bash", "/start.sh"] |