Spaces:
Sleeping
Sleeping
Download Dockerfile from Gagan0141/model-space: direct link, hf CLI and curl.
- Browser
- Download file 268 Bytes
-
https://huggingface.co/spaces/Gagan0141/model-space/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Gagan0141/model-space/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Gagan0141/model-space/resolve/main/Dockerfile
268 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| ENV FLASK_APP=app.py | |
| ENV FLASK_RUN_HOST=0.0.0.0 | |
| ENV FLASK_RUN_PORT=7860 | |
| ENV PYTHONUNBUFFERED=1 | |
| CMD ["flask", "run"] | |