Install libopus in final image

This commit is contained in:
Alex Page 2023-03-03 02:50:01 -05:00
parent 16182615d8
commit 2de52dfe9d

View file

@ -7,7 +7,7 @@ RUN cargo install --path .
FROM debian:bullseye-slim
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 apt-get update && apt-get --no-install-recommends install -y python3 python3-pip libopus0
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