Update Dockerfile

This commit is contained in:
Alexandre
2024-12-05 07:08:41 +01:00
committed by GitHub
parent 7f08556748
commit aa643ae74e

View File

@@ -72,8 +72,7 @@ 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 chmod 777 /docker-entrypoint-initdb.d/* && \
sed -i "s|sleep infinity|bashio::log.info \"Postgres ready to connect\" \& sleep infinity|g" /ha_entrypoint.sh
RUN chmod 777 /docker-entrypoint-initdb.d/*
WORKDIR /config
ENTRYPOINT [ "/usr/bin/env" ]