major refactor (untested)

This commit is contained in:
Aron Petau 2025-12-27 11:59:04 +01:00
parent a29412b4da
commit a77a0c0393
22 changed files with 1037 additions and 24 deletions

View file

@ -7,9 +7,12 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY monitor.py .
COPY main.py .
# Copy the handlers directory into the Docker image
COPY handlers/ ./handlers/
# Create data directory
RUN mkdir -p /data && chmod 777 /data
CMD ["python", "-u", "monitor.py"]
CMD ["python", "-u", "main.py"]