Files
enphase/Dockerfile
Dan Hamik 4c9d9ad7eb
Some checks failed
/ Plan (push) Failing after 4m4s
updating to trixie
2025-08-18 13:41:56 -05:00

8 lines
276 B
Docker

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
COPY enphase.py /usr/local/bin/
RUN chmod +x /init.sh && chmod +x /usr/local/bin/enphase.py
CMD ["/init.sh"]