Spaces:
Paused
Paused
Download Dockerfile from ACA050/SentinelAI: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/ACA050/SentinelAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ACA050/SentinelAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ACA050/SentinelAI/resolve/main/Dockerfile
350 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Non-root user | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH \ | |
| PYTHONPATH=/home/user/app | |
| WORKDIR $HOME/app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |