Skip to content

Commit

Permalink
fix: download yt-dlp directly from github
Browse files Browse the repository at this point in the history
Alpine linux repos are outdated
  • Loading branch information
TheTipo01 committed Nov 11, 2023
1 parent b17b947 commit 16ef787
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -trimpath -ldflags

FROM alpine

RUN apk add --no-cache ffmpeg yt-dlp
RUN apk add --no-cache ffmpeg python3

RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/bin/yt-dlp
RUN chmod a+rx /usr/bin/yt-dlp

COPY --from=build /videoDownloader/videoDownloader /usr/bin/

Expand Down

0 comments on commit 16ef787

Please sign in to comment.