Spaces:
Runtime error
Runtime error
Download Dockerfile from MBG0903/Procelevate_PO_Automation: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/spaces/MBG0903/Procelevate_PO_Automation/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MBG0903/Procelevate_PO_Automation/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MBG0903/Procelevate_PO_Automation/resolve/main/Dockerfile
392 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # copy your src folder | |
| COPY src /app/src | |
| EXPOSE 7860 | |
| ENV STREAMLIT_SERVER_HEADLESS=true | |
| ENV STREAMLIT_SERVER_PORT=7860 | |
| ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0 | |
| CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"] | |