Download Dockerfile from navpan2/check2: direct link, hf CLI and curl.
- Browser
- Download file 338 Bytes
-
https://huggingface.co/spaces/navpan2/check2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/navpan2/check2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/navpan2/check2/resolve/main/Dockerfile
338 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| gcc \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p templates | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "120", "app:app"] |