Download Dockerfile from hengds2f/capstone: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/spaces/hengds2f/capstone/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hengds2f/capstone/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hengds2f/capstone/resolve/main/Dockerfile
214 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt gunicorn | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "-w", "2", "app:create_app()"] | |