This commit is contained in:
Alexandre
2025-03-02 14:04:04 +01:00
parent 4735047120
commit 40ce6faeaa
2 changed files with 3 additions and 1 deletions

View File

@@ -76,6 +76,8 @@ 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 sed -i "s|/command/with-contenv bashio|/usr/bin/env bashio|g" /ha_entrypoint.sh && \
echo /ha_entrypoint.sh
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ]