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"]