FROM python:3.11-slim WORKDIR /app RUN pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu RUN pip install --no-cache-dir \ gradio==5.12.0 \ fastapi \ "uvicorn[standard]" \ huggingface_hub \ transformers \ requests COPY app.py . EXPOSE 7860 CMD ["python", "app.py"]