Install static ffmpeg and yt-dlp from source
This commit is contained in:
parent
1e4fbfb1b1
commit
16182615d8
1 changed files with 4 additions and 4 deletions
|
@ -6,9 +6,9 @@ COPY . .
|
||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
RUN apt-get update && apt-get --no-install-recommends install -y ffmpeg
|
COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/
|
||||||
# Install yt-dlp from github releases for bugfix
|
RUN apt-get update && apt-get --no-install-recommends install -y python3 python3-pip
|
||||||
ADD https://github.com/ytdl-patched/yt-dlp/releases/download/2023.03.03.19419/yt-dlp_linux /usr/local/bin/yt-dlp
|
RUN python3 -m pip install -U pip setuptools wheel
|
||||||
RUN chmod a+rx /usr/local/bin/yt-dlp
|
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
|
COPY --from=builder /usr/local/cargo/bin/dj_kitty_cat /usr/local/bin/dj_kitty_cat
|
||||||
CMD ["dj_kitty_cat"]
|
CMD ["dj_kitty_cat"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue