From eaea1936a080c65c8bc1c2edcf5ec52c07e249ea Mon Sep 17 00:00:00 2001 From: Torsten Bronger Date: Tue, 6 Sep 2022 12:30:32 +0200 Subject: [PATCH] Avoid non-terminating containers The process 1 in the container does not shut down gracefully after having received a TERM signal. Therefore, we send a SIGKILL immediately. This is a kludge as long as node/meteor has no proper SIGTERM handler enabled. See . --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 92401245d..e31ab0bbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -348,6 +348,8 @@ RUN \ USER wekan +STOPSIGNAL SIGKILL + #--------------------------------------------------------------------- # https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132 # Add more Node heap: