From 8a48f0ec2c2fc759e9a76664d0d179473e494e1e Mon Sep 17 00:00:00 2001 From: britkat Date: Wed, 2 Feb 2022 10:11:08 +0000 Subject: [PATCH] clean up dockerfile --- .dockerignore | 3 +-- .gitignore | 3 +-- Dockerfile | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.dockerignore b/.dockerignore index 97f6bee1..8e1b7284 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1 @@ -src/settings.py -givenergy_modbus \ No newline at end of file +src/settings.py \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5a12f46f..d4692e7d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,4 @@ settings.old __pycache__ givtcp_debug.log .venv -.vscode -/givenergy_modbus \ No newline at end of file +.vscode \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 3fb7bd13..b1d0f8f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,6 @@ RUN pip install -r requirements.txt # copy the content of the local src directory to the working directory COPY src/ . -ADD givenergy_modbus /usr/local/lib/python3.10/site-packages/givenergy_modbus ENV INVERTOR_IP="" ENV MQTT_OUTPUT="True"