fix dependencies
This commit is contained in:
parent
a68cd6c42f
commit
1c5aff3c6c
2 changed files with 5 additions and 2 deletions
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue