From d9b6c2eb179286c6e1a82da71fa0109ee8096534 Mon Sep 17 00:00:00 2001 From: Roman Date: Tue, 6 Jun 2023 17:01:17 -0400 Subject: [PATCH] Use latest version of yt-dlp --- Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index def691d..4a14242 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,11 +20,16 @@ RUN mix release sergei FROM alpine:3.16 WORKDIR /opt/sergei -RUN apk add ffmpeg yt-dlp RUN apk add \ --update \ --no-cache \ - libstdc++ ncurses openssl + libstdc++ ncurses openssl \ + ffmpeg python3 + +RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp +RUN chmod +x yt-dlp +RUN mv yt-dlp /usr/bin/yt-dlp + COPY --from=build_stage /opt/build/_build/prod/rel/sergei /opt/sergei ENTRYPOINT ["/opt/sergei/bin/sergei"]