mirror of https://github.com/lumapu/ahoy.git
1 changed files with 18 additions and 0 deletions
@ -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…
Reference in new issue