FROM python:3.11-slim WORKDIR /app RUN pip install --no-cache-dir flask gunicorn COPY app.py . EXPOSE 8080 CMD ["gunicorn", "-b", "0.0.0.0:8080", "-w", "1", "--timeout", "120", "app:app"]