From f01c795a1b7361de584299a015138c8e1cbea78d Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Fri, 29 Mar 2019 22:34:54 +0800 Subject: Dockerfile: include bootnode in image --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d71c678a2..8a187c5b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,14 @@ FROM golang:1.11-alpine3.9 as builder RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev openssl-dev pkgconfig ADD . /dexon -RUN cd /dexon && make clean && DOCKER=alpine make gdex +RUN cd /dexon && make clean && DOCKER=alpine make gdex all # Pull Gdex into a second stage deploy alpine container FROM alpine:3.9 RUN apk add --no-cache ca-certificates libstdc++ curl gmp openssl COPY --from=builder /dexon/build/bin/gdex /usr/local/bin/ +COPY --from=builder /dexon/build/bin/bootnode /usr/local/bin/ EXPOSE 8545 8546 30303 30303/udp ENTRYPOINT ["gdex"] -- cgit v1.2.3