Merge pull request 'work' (#7) from work into main

Reviewed-on: #7
This commit is contained in:
2025-08-18 18:53:17 +00:00

View File

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