Update Dockerfile

This commit is contained in:
Alexandre
2025-02-06 16:07:37 +01:00
committed by GitHub
parent e002ba009f
commit 432220c064

View File

@@ -35,7 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
RUN \
mkdir -p /scripts && \
mv /etc/entrypoint.d/* /scripts/
mv /etc/entrypoint.d/11-execute-things.sh /scripts/
#RUN \
# # Change data location
@@ -79,8 +79,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
RUN cat /ha_entrypoint.sh && \
sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
#RUN cat /ha_entrypoint.sh && \
# sed -i "1i \#\!/bin/bash" /ha_entrypoint.sh
# Entrypoint
#RUN sed -i "1a \#\!/bin/bash bashio" /ha_entrypoint.sh
@@ -94,8 +94,8 @@ RUN cat /ha_entrypoint.sh && \
#USER www-data
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ]
#ENTRYPOINT [ "/usr/bin/env" ]
#CMD [ "/ha_entrypoint.sh" ]
############
# 5 Labels #