New meter_reader add-on

This commit is contained in:
Bogdan Vlaicu
2020-04-02 17:40:04 -04:00
parent 5d0deba9da
commit 7e45770c92
8 changed files with 2 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
ARG BUILD_FROM
FROM $BUILD_FROM
# Add env
ENV LANG C.UTF-8
RUN apk add --no-cache curl
RUN apk add --no-cache python3
RUN apk add --no-cache nano
# install .py script dependency
RUN pip3 install boto3
RUN pip3 install requests
RUN pip3 install paho-mqtt
# Copy data for add-on
COPY ocr_aws.py /
COPY run.sh /
RUN chmod a+x /run.sh
CMD [ "/run.sh" ]