Initial commit of Simple Home Assistant Addon with web interface
This commit is contained in:
21
homeassistant-addon/Dockerfile
Normal file
21
homeassistant-addon/Dockerfile
Normal file
@ -0,0 +1,21 @@
|
||||
FROM homeassistant/amd64-base:latest
|
||||
|
||||
# Install basic dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
build-essential \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy addon files
|
||||
COPY requirements.txt /
|
||||
COPY run.sh /
|
||||
COPY config.yaml /
|
||||
|
||||
# Set permissions
|
||||
RUN chmod +x /run.sh
|
||||
|
||||
# Start the addon
|
||||
CMD ["/run.sh"]
|
||||
Reference in New Issue
Block a user