Download Dockerfile from Mr-67/MathQ: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/spaces/Mr-67/MathQ/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mr-67/MathQ/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mr-67/MathQ/resolve/main/Dockerfile
197 Bytes
| FROM python:3.12 | |
| WORKDIR /app | |
| RUN pip install flask gunicorn | |
| COPY . . | |
| # This ensures Flask knows where the templates are | |
| ENV FLASK_APP=main.py | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "main:app"] |