FROM python:3.10 # Install system packages RUN apt-get update && apt-get install -y ffmpeg git && rm -rf /var/lib/apt/lists/* # Set up environment WORKDIR /app # Install Python dependencies COPY requirements.txt . RUN pip install --upgrade pip RUN pip install -r requirements.txt # Copy app files COPY . . # Run Gradio app CMD ["python", "app.py"]