Update apps/home-assistant/Dockerfile

This commit is contained in:
Tommy 2025-01-04 11:16:41 +00:00
parent 7e2a9feda5
commit 0d5da05990
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -87,6 +87,12 @@ RUN \
&& rm -rf /root/.cache /root/.cargo /tmp/*
COPY ./entrypoint.sh /entrypoint.sh
ENV UV_CACHE_DIR=/config/.cache/uv
ENV UV_SYSTEM_PYTHON="false"
ENV PYTHONPATH="/config/deps:/usr/local/lib/python3.13/site-packages:$PYTHONPATH"
ENV PIP_TARGET=/config/deps
ENV TMPDIR=/config/tmp
RUN chmod +x /entrypoint.sh && \
chown nobody:nogroup /entrypoint.sh && \
chmod +x /sbin/tini