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

use permissions from database - updated bot-scripts

This commit is contained in:
2018-10-20 13:42:37 -05:00
parent 3f650e7c65
commit b004d4f29a
15 changed files with 126 additions and 57 deletions

View File

@@ -15,7 +15,8 @@ RUN apk add --no-cache git alpine-sdk pkgconfig opus-dev opusfile-dev
RUN go get -u github.com/gobuffalo/packr/...
RUN go get -u github.com/golang/dep/cmd/dep
RUN dep ensure
RUN packr build -o /build/server
RUN packr build -o /build/bot
RUN go build -o /build/bot-scripts ./scripts
FROM wernight/youtube-dl
@@ -24,6 +25,6 @@ RUN apk update
RUN apk add ca-certificates opus-dev opusfile-dev
WORKDIR /bot
COPY --from=1 /build/server /
COPY --from=1 /build /server
ENTRYPOINT ["/server"]
ENTRYPOINT ["/server/bot"]