Merge pull request #503 from cosmos/jack/fix-dockerfile

R4R: Fix Dockerfile
This commit is contained in:
Jack Zampolin 2018-11-27 10:33:10 -08:00 committed by GitHub
commit 167d43ce38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,14 +16,14 @@ COPY . .
RUN make tools deps build
# Final image
FROM alpine:edge
FROM alpine
# Install ca-certificates
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/ethermint /usr/bin/ethermint
COPY --from=build-env /go/src/github.com/cosmos/ethermint/build/emintd /usr/bin/emintd
# Run ethermint by default
CMD ["ethermint"]
# Run emintd by default
CMD ["emintd"]