From 7e5d09681e15600271440efd202f3867a4719537 Mon Sep 17 00:00:00 2001 From: Linus Dietz <45101649+Dielee@users.noreply.github.com> Date: Tue, 20 Jun 2023 12:18:46 +0200 Subject: [PATCH] cleanup repo --- Dockerfile | 2 +- container_config.json | 8 -------- config.py => src/config.py | 0 const.py => src/const.py | 0 main.py => src/main.py | 0 mqtt.py => src/mqtt.py | 0 settings.json => src/settings.json | 0 volvo.py => src/volvo.py | 0 8 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 container_config.json rename config.py => src/config.py (100%) rename const.py => src/const.py (100%) rename main.py => src/main.py (100%) rename mqtt.py => src/mqtt.py (100%) rename settings.json => src/settings.json (100%) rename volvo.py => src/volvo.py (100%) diff --git a/Dockerfile b/Dockerfile index 9e58b07..06ad1c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ RUN pip install -r requirements.txt COPY / . # command to run on container start -CMD [ "python", "-u", "./main.py" ] \ No newline at end of file +CMD [ "python", "-u", "./src/main.py" ] \ No newline at end of file diff --git a/container_config.json b/container_config.json deleted file mode 100644 index 1319fa2..0000000 --- a/container_config.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "volvoaaos2mqtt", - "ports": {}, - "env": {"TZ": "Europe/Amsterdam"}, - "volumes": [ - "/home/dockerhost/volvoAAOS2mqtt/settings.json:/volvoAAOS2mqtt/settings.json" - ] -} \ No newline at end of file diff --git a/config.py b/src/config.py similarity index 100% rename from config.py rename to src/config.py diff --git a/const.py b/src/const.py similarity index 100% rename from const.py rename to src/const.py diff --git a/main.py b/src/main.py similarity index 100% rename from main.py rename to src/main.py diff --git a/mqtt.py b/src/mqtt.py similarity index 100% rename from mqtt.py rename to src/mqtt.py diff --git a/settings.json b/src/settings.json similarity index 100% rename from settings.json rename to src/settings.json diff --git a/volvo.py b/src/volvo.py similarity index 100% rename from volvo.py rename to src/volvo.py