mirror of
https://codeberg.org/godmaire/sergei.git
synced 2024-09-20 00:08:25 +00:00
Use latest version of yt-dlp
This commit is contained in:
parent
9a6cb49dac
commit
d9b6c2eb17
1 changed files with 7 additions and 2 deletions
|
@ -20,11 +20,16 @@ RUN mix release sergei
|
||||||
FROM alpine:3.16
|
FROM alpine:3.16
|
||||||
|
|
||||||
WORKDIR /opt/sergei
|
WORKDIR /opt/sergei
|
||||||
RUN apk add ffmpeg yt-dlp
|
|
||||||
RUN apk add \
|
RUN apk add \
|
||||||
--update \
|
--update \
|
||||||
--no-cache \
|
--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
|
COPY --from=build_stage /opt/build/_build/prod/rel/sergei /opt/sergei
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/sergei/bin/sergei"]
|
ENTRYPOINT ["/opt/sergei/bin/sergei"]
|
||||||
|
|
Loading…
Reference in a new issue