Skip to content

Commit

Permalink
dockerfile: cp geth to /usr/local/bin
Browse files Browse the repository at this point in the history
  • Loading branch information
ali92hm committed May 25, 2017
1 parent dd5ed01 commit 115e7d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 115e7d7

Please sign in to comment.