Spaces:
Sleeping
Sleeping
Download Dockerfile from KLEB38/OC_P8_monitoring: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/spaces/KLEB38/OC_P8_monitoring/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/KLEB38/OC_P8_monitoring/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/KLEB38/OC_P8_monitoring/resolve/main/Dockerfile
535 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| # System deps required by psycopg2 + evidently/numpy build wheels. | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| ENV STREAMLIT_SERVER_PORT=7860 \ | |
| STREAMLIT_SERVER_ADDRESS=0.0.0.0 \ | |
| STREAMLIT_SERVER_HEADLESS=true \ | |
| STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| CMD ["streamlit", "run", "app.py"] | |