Update apps/home-assistant/Dockerfile

This commit is contained in:
Tommy 2025-01-04 00:12:25 +00:00
parent be0079ed97
commit a343c81526
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -33,7 +33,6 @@ RUN \
bluez-deprecated \
bluez-libs \
ca-certificates \
catatonit \
tini \
coreutils \
cups-libs \
@ -104,15 +103,14 @@ 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"]
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
#ENTRYPOINT ["/usr/bin/catatonit", "--", "/entrypoint.sh"]
#CMD ["/sbin/tini", "--", "/entrypoint.sh"]
LABEL org.opencontainers.image.source="https://github.com/home-assistant/core"