Spaces:
Sleeping
Sleeping
Download Dockerfile from Theflame47/RunPodRun: direct link, hf CLI and curl.
- Browser
- Download file 368 Bytes
-
https://huggingface.co/spaces/Theflame47/RunPodRun/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Theflame47/RunPodRun/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Theflame47/RunPodRun/resolve/main/Dockerfile
368 Bytes
| FROM python:3.12-slim | |
| WORKDIR /code | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # copy app | |
| COPY . . | |
| # HF Spaces expects the service on port 7860 | |
| ENV PORT=7860 HOST=0.0.0.0 | |
| # If you need env defaults for blob path: | |
| ENV MODEL_BLOB_PATH=/tmp/model_blob.json | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |