mirror of https://github.com/lumapu/ahoy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
341 B
18 lines
341 B
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
|
|
|