# Use an official Python slim image FROM python:3.10-slim # Install Python dependencies COPY requirements.txt . RUN pip install -r requirements.txt # Copy the application code COPY . . # Run the Gradio app CMD ["python3", "app.py"]