discord-buttsbot-go/Dockerfile

11 lines
244 B
Docker
Raw Normal View History

FROM golang:latest AS build
2019-07-29 02:58:19 +00:00
WORKDIR /go/src/buttsbot
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
FROM alpine:latest
run apk add --no-cache bash
WORKDIR /app
COPY --from=build /go/bin/buttsbot discord-buttsbot
CMD ./discord-buttsbot