diff --git a/apps/home-assistant/Dockerfile b/apps/home-assistant/Dockerfile index 25e64bb..7d756f6 100644 --- a/apps/home-assistant/Dockerfile +++ b/apps/home-assistant/Dockerfile @@ -87,6 +87,11 @@ RUN \ && rm -rf /root/.cache /root/.cargo /tmp/* COPY ./entrypoint.sh /entrypoint.sh +RUN mkdir -p /config/.cache/uv /config/tmp /config/deps && \ + chmod 1777 /config/tmp && \ + chmod -R 775 /config/.cache/uv /config/deps && \ + chown -R nobody:nogroup /config/.cache/uv /config/tmp /config/deps + ENV UV_CACHE_DIR=/config/.cache/uv ENV UV_SYSTEM_PYTHON="false" ENV PYTHONPATH="/config/deps:/usr/local/lib/python3.13/site-packages:$PYTHONPATH"