Spaces:
Paused
Paused
Download Dockerfile from sivakumar330/Quotes: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/spaces/sivakumar330/Quotes/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sivakumar330/Quotes/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sivakumar330/Quotes/resolve/main/Dockerfile
310 Bytes
| # Dockerfile | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| RUN mkdir -p uploads | |
| # Create a volume for persistent storage | |
| VOLUME ["/app/uploads", "/app"] | |
| # Run the application | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] |