Spaces:
Paused
Paused
Download Dockerfile from nirmitk/weather-proxy-api: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/spaces/nirmitk/weather-proxy-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/nirmitk/weather-proxy-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nirmitk/weather-proxy-api/resolve/main/Dockerfile
202 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "app:app"] | |