From 1c5aff3c6c5f34de9ee633b1f4bcbe4b053cb70e Mon Sep 17 00:00:00 2001 From: "juancarlos.cavero" Date: Sun, 21 Dec 2025 04:36:43 +0100 Subject: [PATCH] fix dependencies --- Dockerfile | 2 ++ requirements.txt | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea36b61..0a55066 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY requirements.txt . RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" +RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt # Final stage @@ -24,6 +25,7 @@ WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends \ ffmpeg \ libgl1 \ + libgl1-mesa-glx \ libglib2.0-0 \ libsm6 \ libxext6 \ diff --git a/requirements.txt b/requirements.txt index 186ccfd..8d3b7d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -opencv-python +opencv-python-headless scenedetect[opencv] ultralytics torch @@ -8,7 +8,8 @@ yt-dlp faster-whisper google-genai python-dotenv -mediapipe +mediapipe==0.10.14 +protobuf==4.25.8 fastapi uvicorn