additions and corrections for

deployment instructions
This commit is contained in:
2025-09-04 16:45:29 +00:00
parent 86b1bdbd91
commit 76629b8e30
23 changed files with 561 additions and 57 deletions

View File

@@ -1,6 +1,8 @@
FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt .
COPY scheduler/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "scheduler.py"]
COPY scheduler/ ./scheduler
COPY models/ ./models
ENV PYTHONPATH=/app
CMD ["python", "scheduler/scheduler.py"]

View File

@@ -2,7 +2,7 @@
import os
import logging
from scheduler.db_utils import get_active_events
from db_utils import get_active_events
import paho.mqtt.client as mqtt
import json
import datetime