Browse Source

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
<https://github.com/wekan/wekan/issues/4668>.
Torsten Bronger 2 years ago
parent
commit
eaea1936a0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -348,6 +348,8 @@ RUN \
 
 USER wekan
 
+STOPSIGNAL SIGKILL
+
 #---------------------------------------------------------------------
 # https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132
 # Add more Node heap: