FROM python:3.9-slim WORKDIR /app COPY . . # Install dependencies required for ingestion and DB RUN pip install streamlit pandas requests python-dotenv fastapi "uvicorn[standard]" msal ENV PYTHONUNBUFFERED=1 EXPOSE 8501 EXPOSE 8004 # Start monitor in background and streamlit in foreground CMD ["sh", "-c", "python monitor.py & streamlit run app.py --server.port=8501 --server.address=0.0.0.0"]