From edde52d73e270826b0e2943597fa1ca49ad90fec Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:47:41 +0100 Subject: [PATCH] Update Dockerfile --- linkwarden/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linkwarden/Dockerfile b/linkwarden/Dockerfile index 716eb8d37..db6a2c931 100644 --- a/linkwarden/Dockerfile +++ b/linkwarden/Dockerfile @@ -74,6 +74,9 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /ha_entrypoint_modif.sh +# Modify .env location +RUN sed -i "s|/\.env|/data_linkwarden/\.env|g" /etc/cont-init.d/00*.sh + ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] SHELL ["/bin/bash", "-o", "pipefail", "-c"]