aboutsummaryrefslogblamecommitdiffstats
path: root/Dockerfile
blob: 2848f6c455b851a9914e0cbc1cef6ef81424b79e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                             
FROM alpine:3.13 as builder

RUN apk update && apk upgrade
RUN apk add go git
RUN go get -u github.com/go-telegram-bot-api/telegram-bot-api
COPY *.go /hived/
RUN cd /hived && go build

FROM alpine:3.13
COPY --from=builder /hived/hived /hived/
ENTRYPOINT ["/hived/hived"]