Do not include yt-dlp in Dockerfile, as it will be auto downloaded
This commit is contained in:
parent
f1724719ec
commit
1d75df37cf
@ -6,8 +6,6 @@ COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v
|
||||
|
||||
FROM python:alpine
|
||||
RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp && \
|
||||
chmod 755 /usr/local/bin/yt-dlp
|
||||
RUN apk update && apk upgrade && apk add --no-cache ffmpeg
|
||||
COPY --from=builder /app/yt-dlp-telegram-bot /app/yt-dlp-telegram-bot
|
||||
COPY --from=builder /app/yt-dlp.conf /root/yt-dlp.conf
|
||||
|
||||
Loading…
Reference in New Issue
Block a user