Update Dockerfile

This commit is contained in:
Alexandre
2025-07-20 16:05:34 +02:00
committed by GitHub
parent f8a2d81dde
commit e14cf0584e

View File

@@ -96,12 +96,11 @@ 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" && \
echo "exec /init" >> "/ha_entrypoint.sh"
RUN sed -i "s|/usr/bin/with-contenv|/command/with-contenv|g" /etc/cont-init.d/*
#WORKDIR /data
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ]
# ENTRYPOINT [ "/usr/bin/env" ]
# CMD [ "/ha_entrypoint.sh" ]
############
# 5 Labels #