work #6

Merged
paradizelost merged 2 commits from work into main 2025-08-18 18:24:52 +00:00
2 changed files with 33 additions and 12 deletions
Showing only changes of commit 2cf2dabe71 - Show all commits

View File

@@ -1,11 +1,8 @@
FROM debian:bullseye-slim
#
RUN apt update && apt install python3 python3-pip -y
COPY enphase.py /usr/local/bin/
COPY requirements.txt /
COPY init.sh /
RUN chmod +x /init.sh
RUN chmod +x /usr/local/bin/enphase.py
RUN pip3 install -r /requirements.txt
RUN apt clean
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"]