Download Dockerfile from omm7/faics: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/omm7/faics/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/omm7/faics/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/omm7/faics/resolve/main/Dockerfile
362 Bytes
| FROM python:3.10-slim | |
| # Create non-root user (required by Hugging Face) | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |