Fix dockerfile
This commit is contained in:
parent
e28d882e2c
commit
3734036146
|
@ -1,4 +1,4 @@
|
||||||
ARG YTDLP_VERSION="2023.03.04"
|
ARG YTDLP_VERSION=2023.03.04
|
||||||
|
|
||||||
# trunk-ignore(hadolint/DL3007): Chainguard recommends latest
|
# trunk-ignore(hadolint/DL3007): Chainguard recommends latest
|
||||||
FROM cgr.dev/chainguard/static:latest
|
FROM cgr.dev/chainguard/static:latest
|
||||||
|
@ -6,8 +6,7 @@ FROM cgr.dev/chainguard/static:latest
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install yt-dlp
|
# 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
|
# Install ffmpeg
|
||||||
COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/
|
COPY --from=mwader/static-ffmpeg:6.0 /ffmpeg /usr/local/bin/
|
||||||
|
|
Loading…
Reference in New Issue