FROM python:3.11-slim WORKDIR /app RUN pip install --no-cache-dir flask requests gunicorn COPY app.py . CMD ["gunicorn", "--bind", "0.0.0.0:5001", "--workers", "2", "app:app"]