diff --git a/tools/rpi/Dockerfile.basic b/tools/rpi/Dockerfile.basic new file mode 100644 index 00000000..fbbecc5e --- /dev/null +++ b/tools/rpi/Dockerfile.basic @@ -0,0 +1,18 @@ +FROM python:latest + +LABEL maintainer Simoliv + +USER root + +RUN mkdir /hoymiles_exporter + +COPY . /hoymiles_exporter + +WORKDIR /hoymiles_exporter + +RUN pip3 install --upgrade pip +RUN ls -la +RUN pip3 install -r requirements.txt +RUN pip3 install -r optional-requirements.txt + +CMD python3 -um hoymiles --verbose --log-transactions --config ahoy.yml