FROM python:3.11-slim WORKDIR /app COPY requirements.txt /app RUN pip install --no-cache-dir -r requirements.txt COPY src/ /app CMD ["gunicorn", "main:app", "-w", "4", "-k", "uvicorn_worker.UvicornWorker", "-b", "0.0.0.0:80", "--forwarded-allow-ips", "*"]