FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Expose the port your app runs on EXPOSE 8080 # Run the app with Gunicorn CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8080", "app:app"]