Browse Source

adding Dockerfile.basic for a basic installation from requirements.txt + more files

pull/383/head
Oliver 2 years ago
parent
commit
a841eeed57
  1. 18
      tools/rpi/Dockerfile.basic

18
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
Loading…
Cancel
Save