Spaces:
Runtime error
Runtime error
Download Dockerfile from loocorez/reverse-streamlit: direct link, hf CLI and curl.
- Browser
- Download file 571 Bytes
-
https://huggingface.co/spaces/loocorez/reverse-streamlit/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/loocorez/reverse-streamlit/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/loocorez/reverse-streamlit/resolve/main/Dockerfile
571 Bytes
| # ---- base image: must be >=3.11 for verifiers ------------------------------ | |
| FROM python:3.11-slim | |
| ENV PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| # system deps | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends \ | |
| build-essential git curl && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # fast dependency manager that you like | |
| RUN pip install uv | |
| # deps | |
| COPY requirements.txt . | |
| RUN uv pip install --system -r requirements.txt | |
| # app | |
| COPY src/ ./src/ | |
| EXPOSE 7860 | |
| CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"] |