Update Dockerfile

This commit is contained in:
Alexandre
2026-01-11 17:16:26 +01:00
committed by GitHub
parent 962f47a182
commit eee1a982c5

View File

@@ -108,8 +108,6 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif.
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/bashio-standalone.sh" "/.bashio-standalone.sh"
RUN chmod 777 /.bashio-standalone.sh
RUN sed -i "s|/usr/bin/env|/usr/bin/with-contenv|g" /etc/cont-init.d/*
RUN set -e; \
extensions_dir="/usr/src/chrome/extensions"; \
mkdir -p "${extensions_dir}"; \
@@ -132,6 +130,9 @@ RUN set -e; \
done; \
chown -R chrome:chrome "${extensions_dir}"
ENTRYPOINT [ "/usr/bin/env" ]
CMD [ "/ha_entrypoint.sh" ]
############
# 5 Labels #
############