Update Dockerfile

This commit is contained in:
Alexandre
2024-04-24 19:09:46 +02:00
committed by GitHub
parent 7ce281818a
commit dcd0b6ebe5

View File

@@ -53,6 +53,7 @@ RUN \
/./newinstaller.sh && \ /./newinstaller.sh && \
\ \
# Adapt for lsio # Adapt for lsio
[[ -d /app ]] && rm -r /app && \
ln -s /home/abc /app && \ ln -s /home/abc /app && \
chown -R abc:abc /home/abc /app chown -R abc:abc /home/abc /app
@@ -125,7 +126,7 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.sh && rm /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 # Avoid config.yaml interference
WORKDIR /home/birdnet WORKDIR /config
#ENTRYPOINT [ "/usr/bin/env" ] #ENTRYPOINT [ "/usr/bin/env" ]
#CMD [ "/ha_entrypoint.sh" ] #CMD [ "/ha_entrypoint.sh" ]
#SHELL ["/bin/bash", "-o", "pipefail", "-c"] #SHELL ["/bin/bash", "-o", "pipefail", "-c"]