From 5215b5ed8aff298d41e181f4b023f4200033e532 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:48:36 +0100 Subject: [PATCH] Update Dockerfile --- postgres/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 5f5057cf7..4c3e9ef2a 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -74,6 +74,8 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. RUN chmod 777 /docker-entrypoint-initdb.d/* +RUN echo -e "\n# Simulate long-running process to allow signal handling\nwhile true; do\n sleep 1\ndone" >> /ha_entrypoint.sh + WORKDIR /config ENTRYPOINT [ "/ha_entrypoint.sh" ]