🐛 fix: Fix docker build error

This commit is contained in:
2024-06-16 00:40:10 +07:00
parent ed4fcc5fc0
commit 68fc516f95
+3 -1
View File
@@ -16,9 +16,11 @@ RUN yarn build
FROM debian FROM debian
WORKDIR /home/node/app WORKDIR /home/node/app
RUN apt-get update -y
RUN apt-get -y install software-properties-common curl gnupg git dh-python make g++ iputils-ping ffmpeg
RUN add-apt-repository ppa:tomtomtom/yt-dlp -y RUN add-apt-repository ppa:tomtomtom/yt-dlp -y
RUN apt-get update -y RUN apt-get update -y
RUN apt-get -y install curl gnupg git dh-python make g++ iputils-ping ffmpeg yt-dlp RUN apt-get -y install yt-dlp
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get -y install nodejs RUN apt-get -y install nodejs
RUN npm i -g yarn RUN npm i -g yarn