diff --git a/postgres/Dockerfile b/postgres/Dockerfile index 57665d0d6..6a71ea899 100644 --- a/postgres/Dockerfile +++ b/postgres/Dockerfile @@ -67,6 +67,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/* WORKDIR /config ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ]