aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Johnson <arachnid@notdot.net>2017-05-26 17:54:41 +0800
committerGitHub <noreply@github.com>2017-05-26 17:54:41 +0800
commitcb809c03da18bf45f961a931dfd4c765de144e66 (patch)
tree849095c64ca6b18404d705a47cfa25989e4d81a7
parentdd5ed01f3b5ff5e426c9e2e4a55a8b05b10bc78d (diff)
parent45421d3130482f4c416c29f3f843fc8cdb0590dc (diff)
downloadgo-tangerine-cb809c03da18bf45f961a931dfd4c765de144e66.tar
go-tangerine-cb809c03da18bf45f961a931dfd4c765de144e66.tar.gz
go-tangerine-cb809c03da18bf45f961a931dfd4c765de144e66.tar.bz2
go-tangerine-cb809c03da18bf45f961a931dfd4c765de144e66.tar.lz
go-tangerine-cb809c03da18bf45f961a931dfd4c765de144e66.tar.xz
go-tangerine-cb809c03da18bf45f961a931dfd4c765de144e66.tar.zst
go-tangerine-cb809c03da18bf45f961a931dfd4c765de144e66.zip
Merge pull request #14517 from Ali92hm/master
Improved Dockerfile?
-rw-r--r--Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ae6870e31..6bf13dc31 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,11 +4,12 @@ ADD . /go-ethereum
RUN \
apk add --update git go make gcc musl-dev linux-headers && \
(cd go-ethereum && make geth) && \
- cp go-ethereum/build/bin/geth /geth && \
+ cp go-ethereum/build/bin/geth /usr/local/bin/ && \
apk del git go make gcc musl-dev linux-headers && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545
EXPOSE 30303
+EXPOSE 30303/udp
-ENTRYPOINT ["/geth"]
+ENTRYPOINT ["geth"]