Download Dockerfile from ml-intern-explorers/proxy-space-for: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/ml-intern-explorers/proxy-space-for/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ml-intern-explorers/proxy-space-for/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ml-intern-explorers/proxy-space-for/resolve/main/Dockerfile
242 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "-w", "4", "--timeout", "300", "--keep-alive", "5", "app:app"] |