diff --git a/.gitignore b/.gitignore index ad62966..e884760 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /driver +database.db diff --git a/Dockerfile b/Dockerfile index 91e63ac..0e0607e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,6 @@ WORKDIR /usr/src/app COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt -COPY app/ ./ \ No newline at end of file +COPY app/ ./ + +CMD ["python3", "-u", "./monitor-planning.py"] diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..1f0a40a --- /dev/null +++ b/compose.yaml @@ -0,0 +1,9 @@ +services: + monitor-planning: + build: + context: . + dockerfile: ./Dockerfile + restart: unless-stopped + volumes: + - ./database.db:/usr/src/app/database.db + diff --git a/database.db b/database.db deleted file mode 100644 index 063bde3..0000000 Binary files a/database.db and /dev/null differ