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