FROM python:3.10-slim WORKDIR /app # Installer les dépendances système RUN apt-get update && apt-get install -y \ ffmpeg \ libsm6 \ libxext6 \ && rm -rf /var/lib/apt/lists/* # Copier les fichiers COPY requirements.txt . COPY app.py . # Installer les dépendances Python RUN pip install --no-cache-dir -r requirements.txt CMD ["python", "app.py"]