From ca435c2bbc3f4a1703f0d3c6bd33dd19972deef4 Mon Sep 17 00:00:00 2001 From: Ajoy Das Date: Wed, 18 Mar 2020 18:43:02 +0600 Subject: [PATCH] updated Dockerfile (#175) --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12535175..aad53154 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM golang:alpine AS build-env # Set up dependencies -ENV PACKAGES make git curl build-base +ENV PACKAGES git build-base # Set working directory for the build -WORKDIR /go/src/github.com/cosmos/ethermint +WORKDIR /go/src/github.com/Chainsafe/ethermint # Install dependencies RUN apk add --update $PACKAGES @@ -13,7 +13,7 @@ RUN apk add --update $PACKAGES COPY . . # Make the binary -RUN make tools deps build +RUN make build # Final image FROM alpine @@ -23,7 +23,8 @@ RUN apk add --update ca-certificates WORKDIR /root # Copy over binaries from the build-env -COPY --from=build-env /go/src/github.com/cosmos/ethermint/build/emintd /usr/bin/emintd +COPY --from=build-env /go/src/github.com/Chainsafe/ethermint/build/emintd /usr/bin/emintd +COPY --from=build-env /go/src/github.com/Chainsafe/ethermint/build/emintcli /usr/bin/emintcli # Run emintd by default CMD ["emintd"]