Update Dockerfile

This commit is contained in:
Alexandre
2024-12-04 22:37:09 +01:00
committed by GitHub
parent 7789a9a577
commit ba77c0c9bd

View File

@@ -72,10 +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/* && \
# Close gracefully
cat /etc/cont-init.d/99-run.sh >> /ha_entrypoint.sh && \
rm /etc/cont-init.d/99-run.sh
RUN chmod 777 /docker-entrypoint-initdb.d/*
WORKDIR /config
ENTRYPOINT [ "/ha_entrypoint.sh" ]