Update Dockerfile

This commit is contained in:
Alexandre
2025-07-20 15:45:01 +02:00
committed by GitHub
parent 096c3f7475
commit e0a6fa0161

View File

@@ -90,12 +90,13 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps.
################
# Add entrypoint
# ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
ENV S6_STAGE2_HOOK=/ha_entrypoint.sh
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint.sh" "/ha_entrypoint.sh"
# Entrypoint modifications
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
RUN sed -i "s|with-contenv|env|g" "/ha_entrypoint.sh"
#WORKDIR /data
#ENTRYPOINT [ "/usr/bin/env" ]