From a3890910f2fdc83fb5807fcaaa30d070bcae86d6 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 29 Aug 2019 16:01:34 +0300 Subject: [PATCH] Dockerfile: use neo-go for binary name Be consistent with Makefile (see 3dfb1189f2828d99dca14b9da396ce4299ed46c3). --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8bbcaa4ad..bad1875ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN set -x \ && export GOGC=off \ && export CGO_ENABLED=0 \ && export LDFLAGS="-X ${REPO}/config.Version=${VERSION}" \ - && go build -v -mod=vendor -ldflags "${LDFLAGS}" -o /go/bin/node ./cli/main.go + && go build -v -mod=vendor -ldflags "${LDFLAGS}" -o /go/bin/neo-go ./cli/main.go # Executable image FROM alpine:3.10 @@ -31,9 +31,9 @@ WORKDIR / ENV NETMODE=testnet COPY --from=builder /neo-go/config /config -COPY --from=builder /go/bin/node /usr/bin/node +COPY --from=builder /go/bin/neo-go /usr/bin/neo-go COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ -ENTRYPOINT ["/usr/bin/node"] +ENTRYPOINT ["/usr/bin/neo-go"] -CMD ["node", "--config-path", "./config", "--testnet"] +CMD ["neo-go", "--config-path", "./config", "--testnet"]