Improve seth-cli Dockerfile rebuild time
Move the COPY command after dependency installation to reduce rebuild times.
FROM ubuntu:xenial
-COPY . /project/sawtooth-seth
ENV GOPATH=/project/sawtooth-seth/cli
ENV PATH=$PATH:/project/sawtooth-seth/cli/bin:/project/sawtooth-seth/bin:/usr/lib/go-1.9/bin
@@ -58,6 +57,8 @@ RUN npm install \
ethereumjs-abi \
web3
+COPY . /project/sawtooth-seth
+
RUN seth-protogen go
WORKDIR $GOPATH/src/seth_cli/cli
