diff options
author | Ali92hm <ali92hm@gmail.com> | 2017-05-21 01:36:24 +0800 |
---|---|---|
committer | Ali92hm <ali92hm@gmail.com> | 2017-05-26 03:34:28 +0800 |
commit | 115e7d71cc09aee46aa68004146073e17d6e40aa (patch) | |
tree | c6389a68008ac51f9bdf2c5f2bf39a6473d886c3 | |
parent | dd5ed01f3b5ff5e426c9e2e4a55a8b05b10bc78d (diff) | |
download | dexon-115e7d71cc09aee46aa68004146073e17d6e40aa.tar dexon-115e7d71cc09aee46aa68004146073e17d6e40aa.tar.gz dexon-115e7d71cc09aee46aa68004146073e17d6e40aa.tar.bz2 dexon-115e7d71cc09aee46aa68004146073e17d6e40aa.tar.lz dexon-115e7d71cc09aee46aa68004146073e17d6e40aa.tar.xz dexon-115e7d71cc09aee46aa68004146073e17d6e40aa.tar.zst dexon-115e7d71cc09aee46aa68004146073e17d6e40aa.zip |
dockerfile: cp geth to /usr/local/bin
-rw-r--r-- | Dockerfile | 4 |
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"] |