monthly update

This commit is contained in:
2022-03-03 00:14:55 +01:00
parent 4544324595
commit b3f1377250
2 changed files with 15 additions and 5 deletions

View File

@@ -4,9 +4,11 @@ VOLUME /usr/src/yt-dlp-webui/downloads
WORKDIR /usr/src/yt-dlp-webui
COPY package*.json ./
RUN apt-get update
RUN apt-get install curl ffmpeg -y
RUN apt-get install psmisc
RUN apt-get install curl psmisc wget -y
RUN npm install
RUN wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
RUN tar -xf ffmpeg-release-amd64-static.tar.xz
RUN mv ./ffmpeg-5.0-amd64-static/ff* /usr/bin
COPY . .
RUN chmod +x ./fetch-yt-dlp.sh
RUN npm run build-all