Fix: potential conflict between system yt-dlp and pip yt-dlp

This commit is contained in:
a 2024-10-22 13:20:36 +00:00
parent 299a18cb0d
commit e66638f414

View file

@ -2,6 +2,6 @@ FROM python:3.12
WORKDIR /umi
COPY "requirements.txt" .
RUN apt-get update
RUN apt-get install -y yt-dlp ffmpeg aria2 rtmpdump libopus0
RUN pip install -r requirements.txt --break-system-packages
RUN apt-get install -y ffmpeg aria2 rtmpdump libopus0
RUN pip install -r requirements.txt --root-user-action
CMD ["python", "-u", "app.py"]