File size: 540 Bytes
c4f5819
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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"]