Rearrange RPC test Dockerfile
This PR moves the COPY step of the Dockerfile to after the step where
dependencies are installed. This way, the dependencies will not have to
be re-installed each time the code is updated when the Docker image is
built.
FROM ubuntu:xenial
-COPY . /project/sawtooth-seth
-
RUN echo "deb apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8AA7AF1F1091A5FD" \
&& echo 'deb http://repo.sawtooth.me/ubuntu/1.0/stable xenial universe' >> /etc/apt/sources.list \
&& apt-get update \
@@ -30,6 +28,8 @@ RUN echo "deb apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
+COPY . /project/sawtooth-seth
+
ENV PATH=$PATH:/project/sawtooth-seth/bin
RUN seth-protogen
