mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 16:03:45 +00:00
parent
8ce30321ad
commit
ba25f8447a
1 changed files with 4 additions and 1 deletions
|
|
@ -9,7 +9,9 @@ RUN set -x \
|
||||||
|
|
||||||
WORKDIR /bor
|
WORKDIR /bor
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o ./build/bin/bor ./command
|
RUN make bor-all
|
||||||
|
|
||||||
|
CMD ["/bin/bash"]
|
||||||
|
|
||||||
# Pull Bor into a second stage deploy alpine container
|
# Pull Bor into a second stage deploy alpine container
|
||||||
FROM alpine:3.14
|
FROM alpine:3.14
|
||||||
|
|
@ -20,6 +22,7 @@ RUN set -x \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY --from=builder /bor/build/bin/bor /usr/local/bin/
|
COPY --from=builder /bor/build/bin/bor /usr/local/bin/
|
||||||
|
COPY --from=builder /bor/build/bin/bootnode /usr/local/bin/
|
||||||
|
|
||||||
EXPOSE 8545 8546 8547 30303 30303/udp
|
EXPOSE 8545 8546 8547 30303 30303/udp
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue