Spaces:
Sleeping
Sleeping
Download Dockerfile from DDDDD-433/text-topic-map: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/DDDDD-433/text-topic-map/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/DDDDD-433/text-topic-map/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DDDDD-433/text-topic-map/resolve/main/Dockerfile
393 Bytes
| FROM python:3.12-slim | |
| RUN useradd -m -u 1000 appuser | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=appuser . . | |
| USER appuser | |
| ENV HOME=/home/appuser \ | |
| STREAMLIT_BROWSER_GATHER_USAGE_STATS=false | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "app/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true"] | |