Changed Dockerfile to use ENTRYPOINT to allow the veloren-server-cli process to receive signals sent by Watchtower

This commit is contained in:
Ben Wallis 2020-11-30 16:46:36 +00:00
parent bce6e1c6e9
commit c37b91fbf1

View File

@ -16,4 +16,7 @@ COPY ./assets/common /opt/assets/common
COPY ./assets/world /opt/assets/world
WORKDIR /opt
CMD [ "sh", "-c", "RUST_BACKTRACE=1 /opt/veloren-server-cli -b" ]
ENV RUST_BACKTRACE=full
ENTRYPOINT ["/opt/veloren-server-cli"]
CMD ["-b"]