FROM python:3.10-slim WORKDIR /app # Install Python dependencies RUN pip install --no-cache-dir gradio huggingface_hub requests # Copy app code COPY . . # Expose Gradio port EXPOSE 7860 # Run the app CMD ["python", "app.py"]