Skip to content

Commit

Permalink
Avoid config.yaml interference
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Apr 22, 2024
1 parent ba75a97 commit ec88449
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions birdnet-go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit ec88449

Please sign in to comment.