From 43b6dc0ba343e23ccee296f5f3802d3f53e28127 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:08:07 +0100 Subject: [PATCH] Update Dockerfile --- postgres/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 1801abbc8..1b071002c 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -74,10 +74,10 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. RUN chmod 777 /docker-entrypoint-initdb.d/* -RUN echo "\nsleep infinity" >> /ha_entrypoint.sh - WORKDIR /config -ENTRYPOINT [ "/ha_entrypoint.sh" ] +ENTRYPOINT [ "/usr/bin/env" ] +CMD [ "/ha_entrypoint.sh" ] +SHELL ["/bin/bash", "-o", "pipefail", "-c"] ############ # 5 Labels #