Explorar o código

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 %!s(int64=2) %!d(string=hai) anos
pai
achega
eaea1936a0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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: