# Dashboard « Insights IA » (FastAPI).
FROM python:3.11-slim

WORKDIR /app
COPY dashboard/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY dashboard/ /app/

ENV REDIS_URL=redis://redis:6379/0 \
    FREQUI_URL=http://127.0.0.1:8080

EXPOSE 8500
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8500"]
