fix docker build (#437)

* fix docker build

* docs

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Justin Thompson
2020-08-10 14:10:33 -06:00
committed by GitHub
co-authored by Federico Kunze
parent bba6d880d1
commit defcad2bcd
3 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ WORKDIR /go/src/github.com/Chainsafe/ethermint
# Install dependencies
RUN apk add --update $PACKAGES
RUN apk add linux-headers
# Add source files
COPY . .
@@ -22,7 +23,7 @@ FROM alpine
RUN apk add --update ca-certificates
WORKDIR /root
# Copy over binaries from the build-env
# Copy over binaries from the build-env
COPY --from=build-env /go/src/github.com/Chainsafe/ethermint/build/ethermintd /usr/bin/ethermintd
COPY --from=build-env /go/src/github.com/Chainsafe/ethermint/build/ethermintcli /usr/bin/ethermintcli