Download Dockerfile from deepakietb/engine_predictive_maintenance_app: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/spaces/deepakietb/engine_predictive_maintenance_app/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/deepakietb/engine_predictive_maintenance_app/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/deepakietb/engine_predictive_maintenance_app/resolve/main/Dockerfile
327 Bytes
| FROM python:3.9 | |
| WORKDIR /app | |
| COPY . /app | |
| RUN pip3 install -r requirements.txt | |
| RUN useradd -m -u 1000 appuser | |
| USER appuser | |
| ENV HOME=/home/appuser PATH=/home/appuser/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY --chown=appuser . $HOME/app | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |