Update Dockerfile

This commit is contained in:
Alexandre
2025-02-06 16:04:45 +01:00
committed by GitHub
parent e0f24d9379
commit d3c639d1b3

View File

@@ -79,6 +79,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
RUN cat /ha_entrypoint.sh && \
sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
# Entrypoint
#RUN sed -i "1a \#\!/bin/bash bashio" /ha_entrypoint.sh
#RUN echo "www-data ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \