Spaces:
Sleeping
Sleeping
Download Dockerfile from MBG0903/Hands-On-Agentic-Project: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/spaces/MBG0903/Hands-On-Agentic-Project/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MBG0903/Hands-On-Agentic-Project/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MBG0903/Hands-On-Agentic-Project/resolve/main/Dockerfile
537 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "streamlit run src/streamlit_app.py --server.port=${PORT} --server.address=0.0.0.0 --server.headless=true --server.enableCORS=false --server.enableXsrfProtection=false --browser.gatherUsageStats=false"] |