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



                             

                                





                                        
FROM alpine:3.13 as builder

RUN apk update && apk upgrade
RUN apk add go git
COPY ./go.* /hived/
RUN cd /hived && go mod download
COPY *.go /hived/
RUN cd /hived && go build

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