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