FROM python:3.11-slim WORKDIR /app # Install dependencies RUN pip install --no-cache-dir gradio==4.44.0 huggingface-hub>=0.20.0 # Copy application COPY app.py . # Expose port EXPOSE 7860 # Run CMD ["python", "app.py"]