Fix dockerfile

This commit is contained in:
Evan Fiordeliso 2023-05-23 21:56:06 -04:00
parent e28d882e2c
commit 3734036146
1 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,4 @@
ARG YTDLP_VERSION="2023.03.04"
ARG YTDLP_VERSION=2023.03.04
# trunk-ignore(hadolint/DL3007): Chainguard recommends latest
FROM cgr.dev/chainguard/static:latest
@ -6,8 +6,7 @@ FROM cgr.dev/chainguard/static:latest
WORKDIR /app
# Install yt-dlp
ARG YTDLP_VERSION=2023.03.04
ADD https://github.com/yt-dlp/yt-dlp/releases/download/{YTDLP_VERSION}/yt-dlp /usr/local/bin/
ADD https://github.com/yt-dlp/yt-dlp/releases/download/${YTDLP_VERSION}/yt-dlp /usr/local/bin/
# Install ffmpeg
COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/