aboutsummaryrefslogblamecommitdiffstats
path: root/cointop/Dockerfile
blob: 1e5cc2202b9f18a6bd396127cf3e4c4c3ffb0a97 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                         
FROM alpine:3.16 as builder
RUN apk update && apk upgrade && apk add go git
ENV GOPROXY=https://goproxy.io
RUN git clone https://github.com/cointop-sh/cointop && cd cointop/cmd/cointop && go build

FROM alpine:3.16
COPY --from=builder /cointop/cmd/cointop/cointop /cointop/cointop
ENTRYPOINT ["/cointop/cointop"]