github.com/aquanetwork/aquachain@v1.7.8/Dockerfile (about)

     1  # Build AquaChain in a stock Go builder container
     2  FROM golang:1.11-alpine as builder
     3  
     4  RUN apk add --no-cache make gcc musl-dev git
     5  
     6  ADD . /aquachain
     7  RUN cd /aquachain && make static
     8  
     9  # Pull AquaChain into a second stage deploy alpine container
    10  FROM alpine:latest
    11  
    12  RUN apk add --no-cache ca-certificates
    13  COPY --from=builder /aquachain/build/bin/aquachain /usr/local/bin/
    14  
    15  EXPOSE 8543 8544 21303 21303/udp 21303/udp
    16  CMD ["aquachain"]