diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-29 22:34:54 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:59 +0800 |
commit | b4fda28a455efef26146468f3fb7e4c58f9cfd00 (patch) | |
tree | fa1d9d00a2b0e3f692226ba162cebd41fc186c8d | |
parent | 081a9da393a17562c29f44c65062ece7f75a79ee (diff) | |
download | go-tangerine-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar go-tangerine-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.gz go-tangerine-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.bz2 go-tangerine-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.lz go-tangerine-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.xz go-tangerine-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.zst go-tangerine-b4fda28a455efef26146468f3fb7e4c58f9cfd00.zip |
Dockerfile: include bootnode in image
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
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"] |