Files
enphase/Dockerfile
Dan Hamik 2cf2dabe71
All checks were successful
/ Plan (push) Successful in 4m50s
/ Plan (pull_request) Successful in 28s
/ Deploy (pull_request) Successful in 27s
trying a flattened approach to dockerfile
2025-08-18 13:18:41 -05:00

8 lines
278 B
Docker

FROM debian:bullseye-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"]