FROM python:3.12-slim WORKDIR /app COPY requirements.txt . COPY cloud_api.py . RUN pip install --no-cache-dir -r requirements.txt EXPOSE 7860 CMD ["gunicorn", "-b", "0.0.0.0:7860", "cloud_api:app"]