Spaces:
Sleeping
Sleeping
FINAL FIX: Forcibly re-installed dependencies using --ignore-installed to resolve persistent 'mount_app' error.
7a38b9e Download Dockerfile from fast-stager/STOP: direct link, hf CLI and curl.
- Browser
- Download file 272 Bytes
-
https://huggingface.co/spaces/fast-stager/STOP/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/fast-stager/STOP/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fast-stager/STOP/resolve/main/Dockerfile
272 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --ignore-installed -r requirements.txt | |
| COPY app.py . | |
| COPY checkpoints/ checkpoints/ | |
| ENV PORT 7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |