work #7

Merged
paradizelost merged 2 commits from work into main 2025-08-18 18:53:18 +00:00
Showing only changes of commit 72325374f3 - Show all commits

View File

@@ -2,7 +2,7 @@ FROM debian:trixie-slim
# #
COPY requirements.txt / COPY requirements.txt /
COPY init.sh / 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/ COPY enphase.py /usr/local/bin/
RUN chmod +x /init.sh && chmod +x /usr/local/bin/enphase.py RUN chmod +x /init.sh && chmod +x /usr/local/bin/enphase.py
CMD ["/init.sh"] CMD ["/init.sh"]