Clean up the recommended way
This commit is contained in:
parent
3cc4220317
commit
0531ad769e
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@ RUN cargo install --path .
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/
|
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
|
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
|
RUN chmod 755 /usr/local/bin/yt-dlp
|
||||||
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue