# api/Dockerfile FROM python:3.12-slim WORKDIR /app COPY api/requirements.txt . RUN python -m pip install --upgrade pip setuptools wheel \ && pip install --no-cache-dir -r requirements.txt # Bring in your app files from repo root COPY agent_runner.py flask_app.py notify.py . # The agent loads .env if present; we'll mount it via env_file in compose ENV PYTHONUNBUFFERED=1 EXPOSE 8080 CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:8080", "flask_app:app"]