Fix addon build context

This commit is contained in:
2026-06-18 12:26:54 +02:00
parent 1336bc36fa
commit 9d01af98b2
6 changed files with 9 additions and 11 deletions

View File

@@ -2,13 +2,12 @@ FROM python:3.13-slim
WORKDIR /app
COPY pyproject.toml README.md ./
COPY app ./app
RUN python -m pip install --no-cache-dir .
ARG SILLYHOME_FUTURE_REF=main
RUN python -m pip install --no-cache-dir \
"http://192.168.6.31:3000/Otto/sillyhome-future/archive/${SILLYHOME_FUTURE_REF}.tar.gz"
COPY addon/run.sh /run.sh
COPY run.sh /run.sh
RUN chmod 0755 /run.sh \
&& useradd --create-home --uid 10001 sillyhome
ENTRYPOINT ["/run.sh"]