1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-09 08:32:48 +00:00

fix: use ffmpeg docker image

This commit is contained in:
2020-06-11 23:04:49 -05:00
parent 58170df201
commit b308123cff

View File

@@ -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