Update Dockerfile

This commit is contained in:
Alexandre
2023-11-22 20:43:19 +01:00
committed by GitHub
parent e9630346fd
commit 3e917f775a

View File

@@ -69,6 +69,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
# Restart the addon on crash
RUN echo "bashio::addon.restart" >> /ha_entrypoint.sh
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ]