FROM python:3.11.12-slim # System dependencies (optional, for opencv and others) RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 # Install required Python packages COPY requirements.txt . RUN pip install --upgrade pip && pip install -r requirements.txt # Run your app CMD ["python", "app.py"]