File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ FROM node:lts-alpine
22
33RUN set -ex && mkdir /app
44RUN apk add --no-cache python3 youtube-dl \
5- && wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/.yt-dlp \
6- && chmod a+rx /usr/local/bin/.yt-dlp \
7- && printf '#!/bin/sh\n exec /usr/local/bin/.yt-dlp --js-runtimes node "$@"\n ' | tee /usr/local/bin/yt-dlp \
8- && chmod a+rx /usr/local/bin/yt-dlp
5+ && wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp \
6+ && chmod a+rx /usr/local/bin/yt-dlp \
7+ && printf '--cache-dir /var/cache/yt-dlp\n --js-runtimes node:/usr/local/bin/node\n ' | tee /etc/yt-dlp.conf
98
109COPY ./precompiled/* /app/
1110COPY ./*.crt /app/
You can’t perform that action at this time.
0 commit comments