From c37b91fbf1840f88ea0ef417d841826477c10c23 Mon Sep 17 00:00:00 2001 From: Ben Wallis Date: Mon, 30 Nov 2020 16:46:36 +0000 Subject: [PATCH] Changed Dockerfile to use ENTRYPOINT to allow the veloren-server-cli process to receive signals sent by Watchtower --- server-cli/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server-cli/Dockerfile b/server-cli/Dockerfile index 166f668556..6a1c1106ae 100644 --- a/server-cli/Dockerfile +++ b/server-cli/Dockerfile @@ -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"]