work #6
@@ -1,11 +1,8 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
#
|
#
|
||||||
RUN apt update && apt install python3 python3-pip -y
|
|
||||||
COPY enphase.py /usr/local/bin/
|
|
||||||
COPY requirements.txt /
|
COPY requirements.txt /
|
||||||
COPY init.sh /
|
COPY init.sh /
|
||||||
RUN chmod +x /init.sh
|
RUN apt update && apt install python3 python3-pip -y && pip3 install -r /requirements.txt && apt clean
|
||||||
RUN chmod +x /usr/local/bin/enphase.py
|
COPY enphase.py /usr/local/bin/
|
||||||
RUN pip3 install -r /requirements.txt
|
RUN chmod +x /init.sh && chmod +x /usr/local/bin/enphase.py
|
||||||
RUN apt clean
|
|
||||||
CMD ["/init.sh"]
|
CMD ["/init.sh"]
|
Reference in New Issue
Block a user