Spaces:
Sleeping
Sleeping
Download Dockerfile from Mochi0622/Dash-math_Database: direct link, hf CLI and curl.
- Browser
- Download file 346 Bytes
-
https://huggingface.co/spaces/Mochi0622/Dash-math_Database/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mochi0622/Dash-math_Database/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mochi0622/Dash-math_Database/resolve/main/Dockerfile
346 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "app:server", \ | |
| "--bind", "0.0.0.0:7860", \ | |
| "--timeout", "120", \ | |
| "--workers", "1", \ | |
| "--log-level", "debug", \ | |
| "--capture-output", \ | |
| "--enable-stdio-inheritance"] |