aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAli92hm <ali92hm@gmail.com>2017-05-21 01:36:24 +0800
committerAli92hm <ali92hm@gmail.com>2017-05-26 03:34:28 +0800
commit115e7d71cc09aee46aa68004146073e17d6e40aa (patch)
treec6389a68008ac51f9bdf2c5f2bf39a6473d886c3 /Dockerfile
parentdd5ed01f3b5ff5e426c9e2e4a55a8b05b10bc78d (diff)
downloadgo-tangerine-115e7d71cc09aee46aa68004146073e17d6e40aa.tar.gz
go-tangerine-115e7d71cc09aee46aa68004146073e17d6e40aa.tar.zst
go-tangerine-115e7d71cc09aee46aa68004146073e17d6e40aa.zip
dockerfile: cp geth to /usr/local/bin
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index ae6870e31..1db97e028 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,11 +4,11 @@ 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
-ENTRYPOINT ["/geth"]
+ENTRYPOINT ["geth"]