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 # Entrypoint modifications
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_entrypoint_modif.sh" "/ha_entrypoint_modif.sh" 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 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|/usr/bin/with-contenv|/command/with-contenv|g" /etc/cont-init.d/*
echo "exec /init" >> "/ha_entrypoint.sh"
#WORKDIR /data #WORKDIR /data
ENTRYPOINT [ "/usr/bin/env" ] # ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ] # CMD [ "/ha_entrypoint.sh" ]
############ ############
# 5 Labels # # 5 Labels #