Build the new CLI

This commit is contained in:
Victor Castell 2021-11-10 11:31:23 +01:00
parent 57898e43e1
commit e58bdfa8e8

View file

@ -9,9 +9,7 @@ RUN set -x \
WORKDIR /bor WORKDIR /bor
COPY . . COPY . .
RUN make bor-all RUN go build -o ./build/bin/bor ./command
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
@ -22,7 +20,6 @@ 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