Spaces:
Sleeping
Sleeping
Download Dockerfile from FremyCompany/sandbox-204f98d2: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/spaces/FremyCompany/sandbox-204f98d2/resolve/9fb157159d98091e15958d161e7ee5b1e493e6a8/Dockerfile
- Command line
-
hf download hf://spaces/FremyCompany/sandbox-204f98d2@9fb157159d98091e15958d161e7ee5b1e493e6a8/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FremyCompany/sandbox-204f98d2/resolve/9fb157159d98091e15958d161e7ee5b1e493e6a8/Dockerfile
595 Bytes
| FROM ghcr.io/astral-sh/uv:debian | |
| # Install Dev Mode required packages + useful tools | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| bash \ | |
| git git-lfs \ | |
| wget curl procps \ | |
| htop vim nano \ | |
| jq \ | |
| build-essential && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Set up user with uid 1000 (required for Dev Mode) | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR /app | |
| COPY --chown=user . /app | |
| EXPOSE 7860 | |
| # Just keep the container alive - agent uses SSH to interact | |
| CMD ["python", "-m", "http.server", "7860"] | |