Download Dockerfile from THED1/AIAGENT02: direct link, hf CLI and curl.
- Browser
- Download file 567 Bytes
-
https://huggingface.co/spaces/THED1/AIAGENT02/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/THED1/AIAGENT02/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/THED1/AIAGENT02/resolve/main/Dockerfile
567 Bytes
| FROM ubuntu:22.04 | |
| # Zaroori tools aur code-server (VS Code) install karne ke liye | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| git \ | |
| sudo \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Code-server install karna | |
| RUN curl -fsSL https://code-server.dev/install.sh | sh | |
| # Hugging Face ke liye user setup aur permissions | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| # VS Code ko port 7860 par run karne ki command | |
| CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none", "."] | |