FROM python:3.12-slim RUN apt-get update && \ apt-get install -y --no-install-recommends ffmpeg libglib2.0-0 && \ rm -rf /var/lib/apt/lists/* COPY requirements-mac.txt . RUN pip install --no-cache-dir --upgrade pip && \ pip install --no-cache-dir -r requirements-mac.txt WORKDIR /workspace CMD ["python", "app.py"]