Update apps/home-assistant/Dockerfile

This commit is contained in:
Tommy 2025-01-04 11:35:43 +00:00
parent 4d4c71af28
commit 0639b228a7
Signed by: Mooo[bot]
GPG key ID: CF3AFE4D5B62BB9A

View file

@ -87,17 +87,6 @@ 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"
ENV PIP_TARGET=/config/deps
ENV TMPDIR=/config/tmp
RUN chmod +x /entrypoint.sh && \
chown nobody:nogroup /entrypoint.sh && \
chmod +x /sbin/tini