FROM python:3.10-slim WORKDIR /app COPY . /app RUN pip install --no-cache-dir -r requirements.txt EXPOSE 7860 CMD ["gunicorn", "-b", "0.0.0.0:7860", "--workers", "4", "--timeout", "120", "app:app"]