Spaces:
Runtime error
Runtime error
Download Dockerfile from niranjanpc/TextSummary: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/spaces/niranjanpc/TextSummary/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/niranjanpc/TextSummary/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/niranjanpc/TextSummary/resolve/main/Dockerfile
406 Bytes
| FROM python:3.9-slim | |
| # Install system deps (if needed) | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python deps | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app | |
| COPY app.py . | |
| CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"] | |