From 16182615d8df3e75d3712b1ca9824a83b8729d0f Mon Sep 17 00:00:00 2001 From: Alex Page Date: Fri, 3 Mar 2023 02:41:28 -0500 Subject: [PATCH] Install static ffmpeg and yt-dlp from source --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b5b048d..4089631 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,9 @@ COPY . . RUN cargo install --path . FROM debian:bullseye-slim -RUN apt-get update && apt-get --no-install-recommends install -y ffmpeg -# Install yt-dlp from github releases for bugfix -ADD https://github.com/ytdl-patched/yt-dlp/releases/download/2023.03.03.19419/yt-dlp_linux /usr/local/bin/yt-dlp -RUN chmod a+rx /usr/local/bin/yt-dlp +COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/ +RUN apt-get update && apt-get --no-install-recommends install -y python3 python3-pip +RUN python3 -m pip install -U pip setuptools wheel +RUN python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz COPY --from=builder /usr/local/cargo/bin/dj_kitty_cat /usr/local/bin/dj_kitty_cat CMD ["dj_kitty_cat"]