Update Dockerfile

This commit is contained in:
Alexandre
2024-03-19 12:47:41 +01:00
committed by GitHub
parent f3b93d2a50
commit edde52d73e

View File

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