From 9972edb06d2b8e3243e050cf51353476b5e3717a Mon Sep 17 00:00:00 2001 From: koko210Serve Date: Thu, 19 Feb 2026 11:02:58 +0200 Subject: [PATCH] fix(docker): add config_manager.py to Dockerfile and logger components - Add COPY config_manager.py to Dockerfile so it's included in the image - Add 'config_manager' to logger COMPONENTS list to enable logging Fixes the ModuleNotFoundError and ValueError when importing config_manager --- bot/Dockerfile | 1 + bot/utils/logger.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/bot/Dockerfile b/bot/Dockerfile index 46399a3..d4033d6 100644 --- a/bot/Dockerfile +++ b/bot/Dockerfile @@ -54,6 +54,7 @@ COPY bot.py . COPY server_manager.py . COPY command_router.py . COPY config.py . +COPY config_manager.py . COPY utils /app/utils COPY commands /app/commands COPY memory /app/memory diff --git a/bot/utils/logger.py b/bot/utils/logger.py index e7d56c9..a95b570 100644 --- a/bot/utils/logger.py +++ b/bot/utils/logger.py @@ -55,6 +55,7 @@ COMPONENTS = { 'gpu': 'GPU routing and model management', 'media': 'Media processing (audio, video, images)', 'server': 'Server management and configuration', + 'config_manager': 'Configuration and runtime settings management', 'commands': 'Command handling and routing', 'sentiment': 'Sentiment analysis', 'core': 'Core utilities and helpers', @@ -65,6 +66,7 @@ COMPONENTS = { 'container_manager': 'Docker container lifecycle management', 'error_handler': 'Error detection and webhook notifications', 'uno': 'UNO game automation and commands', + 'task_tracker': 'Task tracking and management system', } # Global configuration