Update Dockerfile

This commit is contained in:
Alexandre
2025-02-07 12:44:03 +01:00
committed by GitHub
parent 6d964326b9
commit 821a045f30

View File

@@ -72,7 +72,7 @@ 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
@@ -101,7 +101,7 @@ RUN \
#ENV ha_entry_source="true"
#USER www-data
USER www-data
#ENTRYPOINT [ "/usr/bin/env" ]
#CMD [ "/ha_entrypoint.sh" ]