adding break system packages flag for container image
All checks were successful
/ Plan (push) Successful in 4m24s
/ Plan (pull_request) Successful in 27s
/ Deploy (pull_request) Successful in 27s

This commit is contained in:
2025-08-18 13:48:26 -05:00
parent 4c9d9ad7eb
commit 72325374f3

View File

@@ -2,7 +2,7 @@ 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"]