Download Dockerfile from augment17/agent-worker-loop-v2: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/augment17/agent-worker-loop-v2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/augment17/agent-worker-loop-v2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/augment17/agent-worker-loop-v2/resolve/main/Dockerfile
388 Bytes
| FROM python:3.10-slim | |
| # Install system dependencies (specifically git) | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| git && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY main.py . | |
| EXPOSE 7860 | |
| ENV PORT=7860 | |
| CMD ["uvicorn", "main.py:app", "--host", "0.0.0.0", "--port", "7860"] | |