FROM python:3.10-slim WORKDIR /app # Install pip dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy app code COPY . . # Launch Gradio on HF Space CMD ["python", "app.py"]