Update apps/home-assistant/Dockerfile

This commit is contained in:
Tommy 2025-01-04 10:31:57 +00:00
parent a38e74bf2b
commit e1a341b0de
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -80,13 +80,16 @@ RUN \
--requirement "https://raw.githubusercontent.com/home-assistant/docker/${HOME_ASSISTANT_BASE}/requirements.txt" \
&& uv pip install --system --only-binary=:all: --find-links "${HOMEASSISTANT_WHEELS}" --requirement /tmp/requirements_all.txt \
&& uv pip install --system --only-binary=:all: --find-links "${HOMEASSISTANT_WHEELS}" homeassistant=="${VERSION}" \
&& curl -L https://github.com/AlexxIT/go2rtc/releases/download/v1.9.8/go2rtc_linux_amd64 --output /bin/go2rtc \
&& chmod +x /bin/go2rtc \
&& mkdir -p /config && chown nobody:nogroup -R /config \
&& apk del --purge .build-deps \
&& rm -rf /root/.cache /root/.cargo /tmp/*
COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh && \
chown nobody:nogroup /entrypoint.sh
chown nobody:nogroup /entrypoint.sh && \
chmod +x /sbin/tini
USER nobody:nogroup
WORKDIR /config