From 842247f8e41bee6797998820c28efb3c95edd896 Mon Sep 17 00:00:00 2001 From: "k.eaven" Date: Tue, 12 Aug 2025 02:27:04 -0700 Subject: [PATCH] Add signal handling to container --- dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index 5cac93f..a6813cb 100644 --- a/dockerfile +++ b/dockerfile @@ -39,5 +39,5 @@ USER bot ENV PYTHONUNBUFFERED=1 ENV CONFIG_PATH=/app/config.ini -# Command to run the bot -CMD ["sh", "-c", "python generate_config.py && python pterodisbot.py"] \ No newline at end of file +# Command to run the bot (using exec form and signal handling) +CMD ["sh", "-c", "python generate_config.py && exec python pterodisbot.py"] \ No newline at end of file