Download Dockerfile from Json026/Gamopedia: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/Json026/Gamopedia/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Json026/Gamopedia/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Json026/Gamopedia/resolve/main/Dockerfile
265 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| # 🔥 CRITICAL FIX: timeout + workers | |
| CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "0"] |