FROM golang:latest
WORKDIR /go/src/buttsbot
COPY . .
RUN rm -rf .git .drone.yml .gitignore
RUN go get -d -v ./...
RUN go install -v ./...
CMD ["buttsbot"]