mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
16 lines
307 B
Docker
16 lines
307 B
Docker
FROM vertigo/go-builder as builder
|
|
|
|
ADD . /go-ethereum
|
|
RUN \
|
|
(cd go-ethereum && make geth) && \
|
|
cp go-ethereum/build/bin/geth /geth && \
|
|
rm -rf /go-ethereum
|
|
|
|
FROM alpine:3.5
|
|
|
|
COPY --from=builder /geth /geth
|
|
|
|
EXPOSE 8545
|
|
EXPOSE 30303
|
|
|
|
ENTRYPOINT ["/geth"]
|