Update apps/home-assistant/Dockerfile

This commit is contained in:
Tommy 2025-01-03 23:46:54 +00:00
parent 2a7c45a033
commit 047a26be81
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -34,6 +34,7 @@ RUN \
bluez-libs \
ca-certificates \
catatonit \
tini \
coreutils \
cups-libs \
curl \
@ -99,10 +100,17 @@ RUN \
COPY ./entrypoint.sh /entrypoint.sh
# Ensure permissions for entrypoint
RUN chmod +x /entrypoint.sh \
&& chmod +x /usr/bin/catatonit \
&& chmod +x /sbin/tini
USER nobody:nogroup
WORKDIR /config
VOLUME ["/config"]
# Use tini as fallback if catatonit fails
ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]
CMD ["/sbin/tini", "--", "/entrypoint.sh"]
LABEL org.opencontainers.image.source="https://github.com/home-assistant/core"
LABEL org.opencontainers.image.source="https://github.com/home-assistant/core"