fix dependencies

This commit is contained in:
juancarlos.cavero 2025-12-21 04:36:43 +01:00
parent a68cd6c42f
commit 1c5aff3c6c
2 changed files with 5 additions and 2 deletions

View file

@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
COPY requirements.txt . COPY requirements.txt .
RUN python -m venv /opt/venv RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH" ENV PATH="/opt/venv/bin:$PATH"
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
# Final stage # Final stage
@ -24,6 +25,7 @@ WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \ ffmpeg \
libgl1 \ libgl1 \
libgl1-mesa-glx \
libglib2.0-0 \ libglib2.0-0 \
libsm6 \ libsm6 \
libxext6 \ libxext6 \

View file

@ -1,4 +1,4 @@
opencv-python opencv-python-headless
scenedetect[opencv] scenedetect[opencv]
ultralytics ultralytics
torch torch
@ -8,7 +8,8 @@ yt-dlp
faster-whisper faster-whisper
google-genai google-genai
python-dotenv python-dotenv
mediapipe mediapipe==0.10.14
protobuf==4.25.8
fastapi fastapi
uvicorn uvicorn