Download Dockerfile from Brian269/03: direct link, hf CLI and curl.
- Browser
- Download file 418 Bytes
-
https://huggingface.co/spaces/Brian269/03/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Brian269/03/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Brian269/03/resolve/main/Dockerfile
418 Bytes
| FROM python:3.11.8-slim | |
| WORKDIR /app | |
| # System dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy files | |
| COPY . /app | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose Streamlit port | |
| EXPOSE 7860 | |
| # Run Streamlit | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |