Update Dockerfile

This commit is contained in:
Alexandre
2025-07-20 15:47:15 +02:00
committed by GitHub
parent 54b5c42565
commit 75e1067a9a

View File

@@ -96,7 +96,8 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
# 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"
RUN sed -i "s|with-contenv|env|g" && \
echo "exec /init" >> "/ha_entrypoint.sh"
#WORKDIR /data
#ENTRYPOINT [ "/usr/bin/env" ]