Update apps/home-assistant/Dockerfile

This commit is contained in:
Tommy 2025-01-04 11:29:24 +00:00
parent 0d5da05990
commit e8d83e1e95
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -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"