aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-29 22:34:54 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:59 +0800
commitb4fda28a455efef26146468f3fb7e4c58f9cfd00 (patch)
treefa1d9d00a2b0e3f692226ba162cebd41fc186c8d /Dockerfile
parent081a9da393a17562c29f44c65062ece7f75a79ee (diff)
downloaddexon-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar
dexon-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.gz
dexon-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.bz2
dexon-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.lz
dexon-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.xz
dexon-b4fda28a455efef26146468f3fb7e4c58f9cfd00.tar.zst
dexon-b4fda28a455efef26146468f3fb7e4c58f9cfd00.zip
Dockerfile: include bootnode in image
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
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"]