Download Dockerfile from Oppabank/roglag: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/spaces/Oppabank/roglag/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Oppabank/roglag/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Oppabank/roglag/resolve/main/Dockerfile
540 Bytes
| # ROGLAG dashboard (server.py) — for Hugging Face Spaces / any container host. | |
| # server.py is Python stdlib-only, so the image needs no pip dependencies. | |
| FROM python:3.12-slim | |
| WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| HOST=0.0.0.0 \ | |
| PORT=7860 | |
| # App code + dashboard + dataset (vector index is in Qdrant Cloud, not bundled). | |
| COPY server.py . | |
| COPY app ./app | |
| COPY web ./web | |
| COPY html ./html | |
| COPY Data ./Data | |
| # Hugging Face Spaces expects the app on port 7860. | |
| EXPOSE 7860 | |
| CMD ["python3", "server.py"] | |