From 55c5f0fa6181e52eb3ffb1fab020eb3304c0133c Mon Sep 17 00:00:00 2001 From: Yuzu Date: Sun, 18 Aug 2024 12:39:27 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20build:=20Switch=20to=20latest=20?= =?UTF-8?q?yt-dlp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef41e61..e1e5d78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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