Fix Dockerfile (#1485)

* Fix Dockerfile

* Use ENTRYPOINT instead of CMD
This commit is contained in:
Pierre Krieger
2019-01-19 12:34:19 +01:00
committed by Gav Wood
parent 0ad2a5fb96
commit 6ee9b6db25
+2 -1
View File
@@ -6,6 +6,7 @@ RUN apk add build-base \
cmake \
linux-headers \
openssl-dev \
clang-dev \
cargo
ARG PROFILE=release
@@ -34,4 +35,4 @@ RUN rm -rf /usr/lib/python* && \
EXPOSE 30333 9933 9944
VOLUME ["/data"]
CMD ["/usr/local/bin/substrate"]
ENTRYPOINT ["/usr/local/bin/substrate"]