Spaces:
Runtime error
Runtime error
Download Dockerfile from SpreadSheets600/PoraHobe: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/SpreadSheets600/PoraHobe/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SpreadSheets600/PoraHobe/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SpreadSheets600/PoraHobe/resolve/main/Dockerfile
460 Bytes
| FROM python:3.13-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| FLASK_APP=run.py \ | |
| PORT=7860 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| RUN chmod +x docker-entrypoint.sh && mkdir -p instance | |
| EXPOSE 7860 | |
| ENTRYPOINT ["./docker-entrypoint.sh"] | |