📦 build: Switch to latest yt-dlp

This commit is contained in:
2024-08-18 12:39:27 +07:00
parent ae04151cc0
commit 55c5f0fa61
+2 -3
View File
@@ -31,11 +31,10 @@ WORKDIR /home/node/app
RUN apt-get update -y
RUN apt-get -y install software-properties-common curl gnupg git dh-python make g++ libasound2-dev iputils-ping ffmpeg python3-launchpadlib libnss3
RUN add-apt-repository ppa:tomtomtom/yt-dlp -y
RUN apt-get update -y
RUN apt-get -y install yt-dlp
RUN curl -sL https://deb.nodesource.com/setup_21.x | bash -
RUN apt-get -y install nodejs
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/.local/bin/yt-dlp
RUN chmod a+rx ~/.local/bin/yt-dlp
RUN corepack enable