Update Dockerfile

This commit is contained in:
Alexandre
2024-12-02 19:49:33 +01:00
committed by GitHub
parent b26dd5fc31
commit 54cf3370ce

View File

@@ -72,7 +72,10 @@ 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/*
RUN chmod 777 /docker-entrypoint-initdb.d/* && \
# Capture docker signals
sed -i "s|source |exec |g" /ha_entrypoint.sh
WORKDIR /config
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ]