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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user