Download Dockerfile from Nausad/AI_Doc: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/Nausad/AI_Doc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Nausad/AI_Doc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Nausad/AI_Doc/resolve/main/Dockerfile
266 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| # Gunicorn runs the app (ignores if __name__ block) | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "backend.app:app"] |