Download Dockerfile from kachaf/sarf: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/kachaf/sarf/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/kachaf/sarf/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/kachaf/sarf/resolve/main/Dockerfile
369 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PORT=7860 | |
| COPY requirements.txt . | |
| RUN pip install --upgrade pip setuptools wheel \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "8", "--timeout", "120", "app:app"] |