Update Dockerfile

This commit is contained in:
Alexandre
2025-02-06 19:14:14 +01:00
committed by GitHub
parent edce65e161
commit 8d34dd1ac1

View File

@@ -81,7 +81,8 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
# Adapt shebang
RUN \
sed -i "s|/command/with-contenv bashio|/bin/bash bashio|g" /ha_entrypoint.sh
sed -i "s|/command/with-contenv bashio|/bin/bash bashio|g" /ha_entrypoint.sh && \
mv /ha_entrypoint.sh /etc/entrypoint.d/99-ha_entrypoint.sh
#RUN cat /ha_entrypoint.sh && \
# sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh