diff --git a/social_to_mealie/Dockerfile b/social_to_mealie/Dockerfile index 5c55d56c9..50349246b 100644 --- a/social_to_mealie/Dockerfile +++ b/social_to_mealie/Dockerfile @@ -49,7 +49,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat RUN chmod 744 /ha_automodules.sh && /ha_automodules.sh "$MODULES" && rm /ha_automodules.sh # Manual apps -ENV PACKAGES="jq" +ENV PACKAGES="jq gosu" # Automatic apps & bashio ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_autoapps.sh" "/ha_autoapps.sh" @@ -71,8 +71,7 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh" RUN chmod 777 /.bashio-standalone.sh -#ENTRYPOINT [ "/ha_entrypoint.sh" ] -#CMD [ "/ha_entrypoint.sh" ] +ENTRYPOINT [ "/ha_entrypoint.sh" ] ############ # 5 Labels # diff --git a/social_to_mealie/config.yaml b/social_to_mealie/config.yaml index edf226d0a..766c47267 100644 --- a/social_to_mealie/config.yaml +++ b/social_to_mealie/config.yaml @@ -1,5 +1,5 @@ name: Social to Mealie -version: 0.1.0-3 +version: 0.1.0-4 slug: social_to_mealie description: Import recipes from social media directly into Mealie url: https://github.com/alexbelgium/hassio-addons diff --git a/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh b/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh index 2e62244a8..b5469679c 100755 --- a/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh +++ b/social_to_mealie/rootfs/etc/cont-init.d/99-run.sh @@ -4,4 +4,4 @@ set -e bashio::log.info "Starting Social to Mealie" cd /app || bashio::exit.nok "App directory not found" -/./app/entrypoint.sh node --run start +exec gosu nextjs /app/entrypoint.sh node --run start