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"]