From e58bdfa8e8ac96f4aaf6d3911af5001596ea4e82 Mon Sep 17 00:00:00 2001 From: Victor Castell Date: Wed, 10 Nov 2021 11:31:23 +0100 Subject: [PATCH] Build the new CLI --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c12a8b1f4e..37f0182bdc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,7 @@ RUN set -x \ WORKDIR /bor COPY . . -RUN make bor-all - -CMD ["/bin/bash"] +RUN go build -o ./build/bin/bor ./command # Pull Bor into a second stage deploy alpine container FROM alpine:3.14 @@ -22,7 +20,6 @@ RUN set -x \ && rm -rf /var/cache/apk/* 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