diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-29 22:34:54 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | f01c795a1b7361de584299a015138c8e1cbea78d (patch) | |
tree | 3d7f7677f23b3f57fd71aff61afc1af966531b53 /Dockerfile | |
parent | eb6401eaf5890e35260d555a08f4728f576a2464 (diff) | |
download | go-tangerine-f01c795a1b7361de584299a015138c8e1cbea78d.tar go-tangerine-f01c795a1b7361de584299a015138c8e1cbea78d.tar.gz go-tangerine-f01c795a1b7361de584299a015138c8e1cbea78d.tar.bz2 go-tangerine-f01c795a1b7361de584299a015138c8e1cbea78d.tar.lz go-tangerine-f01c795a1b7361de584299a015138c8e1cbea78d.tar.xz go-tangerine-f01c795a1b7361de584299a015138c8e1cbea78d.tar.zst go-tangerine-f01c795a1b7361de584299a015138c8e1cbea78d.zip |
Dockerfile: include bootnode in image
Diffstat (limited to 'Dockerfile')
-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"] |