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 13:50:05 +0800 |
commit | 2ac483fe636cb205560e832c72cfc3025d2f4d0a (patch) | |
tree | 79e1e4687bbb0755eb411f65ab087944948e575c | |
parent | 107c1375ba9952423310abf998c5279b37412b02 (diff) | |
download | dexon-2ac483fe636cb205560e832c72cfc3025d2f4d0a.tar.gz dexon-2ac483fe636cb205560e832c72cfc3025d2f4d0a.tar.zst dexon-2ac483fe636cb205560e832c72cfc3025d2f4d0a.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"] |