Add independent Home Assistant addon
This commit is contained in:
14
addon/Dockerfile
Normal file
14
addon/Dockerfile
Normal 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"]
|
||||
|
||||
Reference in New Issue
Block a user