Clean up the recommended way

This commit is contained in:
Alex Page 2023-03-18 03:10:29 -04:00
parent 3cc4220317
commit 0531ad769e

View file

@ -8,7 +8,10 @@ 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 libopus0 ca-certificates && apt-get clean
RUN apt-get update && apt-get --no-install-recommends install -y \
libopus0 \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
ADD https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/yt-dlp_linux /usr/local/bin/yt-dlp
RUN chmod 755 /usr/local/bin/yt-dlp
COPY --from=builder /usr/local/cargo/bin/dj_kitty_cat /usr/local/bin/dj_kitty_cat