Spaces:
Configuration error
Configuration error
Download Dockerfile from Pubgbc9799/Hi: direct link, hf CLI and curl.
- Browser
- Download file 314 Bytes
-
https://huggingface.co/spaces/Pubgbc9799/Hi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Pubgbc9799/Hi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Pubgbc9799/Hi/resolve/main/Dockerfile
314 Bytes
| FROM python:3.12-slim | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH=/home/user/.local/bin:$PATH PORT=7860 DATA_DIR=/data PYTHONUNBUFFERED=1 | |
| WORKDIR /home/user/app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| CMD ["python", "server.py"] | |