aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index e87dd35d3..04648a8f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,10 @@
# Build Geth in a stock Go builder container
FROM golang:1.11-alpine as builder
-RUN apk add --no-cache make gcc musl-dev linux-headers
+RUN apk add --no-cache make gcc musl-dev linux-headers g++ gmp-dev openssl-dev
-ADD . /go-ethereum
-RUN cd /go-ethereum && make geth
+ADD . /dexon
+RUN cd /dexon && DOCKER=alpine make gdex
# Pull Geth into a second stage deploy alpine container
FROM alpine:latest
@@ -13,4 +13,4 @@ RUN apk add --no-cache ca-certificates
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
EXPOSE 8545 8546 30303 30303/udp
-ENTRYPOINT ["geth"]
+ENTRYPOINT ["gdex"]