From 0d5da05990c0b100f713608a710bcfd217535664 Mon Sep 17 00:00:00 2001 From: tommy Date: Sat, 4 Jan 2025 11:16:41 +0000 Subject: [PATCH] Update apps/home-assistant/Dockerfile --- apps/home-assistant/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/home-assistant/Dockerfile b/apps/home-assistant/Dockerfile index ff353a8..25e64bb 100644 --- a/apps/home-assistant/Dockerfile +++ b/apps/home-assistant/Dockerfile @@ -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