From ec8844905329295ec3952a5a263954dcc35c696a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 22 Apr 2024 12:17:33 +0200 Subject: [PATCH] Avoid config.yaml interference --- birdnet-go/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/birdnet-go/Dockerfile b/birdnet-go/Dockerfile index a2ccefe7f..c1bb9172a 100644 --- a/birdnet-go/Dockerfile +++ b/birdnet-go/Dockerfile @@ -66,6 +66,8 @@ 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 +# Avoid config.yaml interference +RUN sed -i "s|config.yaml|config_env.yaml|g" /etc/cont-init.d/01-config_yaml.sh ENTRYPOINT [ "/usr/bin/env" ] CMD [ "/ha_entrypoint.sh" ] SHELL ["/bin/bash", "-o", "pipefail", "-c"]