initial commit

This commit is contained in:
2024-11-26 10:01:05 -06:00
commit 249c97ce8e
7 changed files with 359 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM debian:bullseye-slim
#
RUN apt update && apt install python3 python3-pip -y
COPY enphase.py /usr/local/bin/
COPY requirements.txt /
COPY init.sh /
RUN chmod +x /init.sh
RUN chmod +x /usr/local/bin/enphase.py
RUN pip3 install -r /requirements.txt
RUN apt clean
CMD ["/init.sh"]