Add independent Home Assistant addon

This commit is contained in:
2026-06-18 12:23:24 +02:00
parent 549f87523a
commit 1336bc36fa
10 changed files with 121 additions and 7 deletions

14
addon/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.13-slim
WORKDIR /app
COPY pyproject.toml README.md ./
COPY app ./app
RUN python -m pip install --no-cache-dir .
COPY addon/run.sh /run.sh
RUN chmod 0755 /run.sh \
&& useradd --create-home --uid 10001 sillyhome
ENTRYPOINT ["/run.sh"]