Spaces:
Sleeping
Sleeping
Download Dockerfile from deepacsr/predictive-maintenance: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/spaces/deepacsr/predictive-maintenance/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/deepacsr/predictive-maintenance/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/deepacsr/predictive-maintenance/resolve/main/Dockerfile
335 Bytes
| # Use a minimal base image with Python 3.9 installed | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true", "--browser.gatherUsageStats=false"] | |