Spaces:
Runtime error
Runtime error
Download Dockerfile from Carley1234/efectos: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/Carley1234/efectos/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Carley1234/efectos/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Carley1234/efectos/resolve/main/Dockerfile
325 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Hugging Face Spaces use port 7860 by default | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "app:app", "--workers", "1", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:7860", "--timeout", "300"] |