Spaces:
Sleeping
Sleeping
Download Dockerfile from siddhm11/sandbox-9bb83c65: direct link, hf CLI and curl.
- Browser
- Download file 595 Bytes
-
https://huggingface.co/spaces/siddhm11/sandbox-9bb83c65/resolve/2e26099892fb8e8229cee0288523217081318267/Dockerfile
- Command line
-
hf download hf://spaces/siddhm11/sandbox-9bb83c65@2e26099892fb8e8229cee0288523217081318267/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/siddhm11/sandbox-9bb83c65/resolve/2e26099892fb8e8229cee0288523217081318267/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"] | |