diff --git a/Dockerfile b/Dockerfile index 56da3f7..a7615a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,10 @@ COPY --from=0 /home/dist /go/src/github.com/mgerb/go-discord-bot/dist ADD ./server . RUN apk add --no-cache git alpine-sdk RUN go get -u github.com/gobuffalo/packr/... -RUN go get +RUN go get -u github.com/golang/dep/cmd/dep +RUN dep ensure +# need to manually get this dependency because go dep doesn't work well with the C bindings +RUN go get layeh.com/gopus RUN packr build -o /build/server diff --git a/makefile b/makefile index 0f3a524..eef313c 100644 --- a/makefile +++ b/makefile @@ -1,8 +1,6 @@ -run: - go run ./main.go - install: - go get ./server && cd client && npm install + cd server && dep ensure + cd client && npm install build-server: cd ./server && packr build -o ../bot ./main.go diff --git a/readme.md b/readme.md index cbb9c06..d669e40 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # Discord Sound Bot -A soundboard bot for discord with a Go back end and React front end. +A soundboard bot for discord. Build with Go/React. ![Image](./screenshots/sound-bot.png) @@ -39,6 +39,7 @@ services: - `summon` - summons the bot to your current channel - `dismiss` - dismisses the bot from the server - `