From c808954413efcb9918209ab3ba716b5ed5d84c6d Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Wed, 15 Feb 2017 21:40:23 +0400 Subject: [PATCH] clean Docker [ci-skip] --- docker/hub/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/hub/Dockerfile b/docker/hub/Dockerfile index 6eaedf62e..f78bbd217 100644 --- a/docker/hub/Dockerfile +++ b/docker/hub/Dockerfile @@ -62,8 +62,9 @@ RUN git clone https://github.com/ethcore/parity && \ ls /build/parity/target/release/parity && \ strip /build/parity/target/release/parity -RUN file /build/parity/target/release/parity -RUN rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup +RUN file /build/parity/target/release/parity&&cp /build/parity/target/release/parity /parity +#cleanup Docker image +RUN rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup&&rm -rf /build EXPOSE 8080 8545 8180 -ENTRYPOINT ["/build/parity/target/release/parity"] +ENTRYPOINT ["/parity"]