We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b3016b commit 47d6b1dCopy full SHA for 47d6b1d
Dockerfile
@@ -2,10 +2,9 @@ FROM node:lts-alpine
2
3
RUN set -ex && mkdir /app
4
RUN 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\nexec /usr/local/bin/.yt-dlp --js-runtimes node "$@"\n' | tee /usr/local/bin/yt-dlp \
8
- && chmod a+rx /usr/local/bin/yt-dlp
+ && wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp \
+ && chmod a+rx /usr/local/bin/yt-dlp \
+ && printf '--cache-dir /var/cache/yt-dlp\n--js-runtimes node:/usr/local/bin/node\n' | tee /etc/yt-dlp.conf
9
10
COPY ./precompiled/* /app/
11
COPY ./*.crt /app/
0 commit comments