Update apps/home-assistant/Dockerfile
This commit is contained in:
parent
0d5da05990
commit
e8d83e1e95
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue