From b308123cffbd11bf5447055505282131fead8303 Mon Sep 17 00:00:00 2001 From: Mitchell Date: Thu, 11 Jun 2020 23:04:49 -0500 Subject: [PATCH] fix: use ffmpeg docker image --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 23641cb..373cadd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,11 +18,16 @@ RUN packr build -o /build/bot RUN go build -o /build/bot-scripts ./scripts -FROM alpine:3.12 +FROM jrottenberg/ffmpeg:4.1-alpine RUN apk update RUN apk add ca-certificates opus-dev opusfile-dev +# install python for youtube-dl +RUN apk add python3 +RUN ln -s /usr/bin/python3 /usr/bin/python & \ + ln -s /usr/bin/pip3 /usr/bin/pip + WORKDIR /bot COPY --from=1 /build /server