roglag / Dockerfile
deploy
deploy ROGLAG threat console
c4f5819
Raw
History Blame Contribute Delete
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"]