Add signal handling to container
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 1m6s

This commit is contained in:
2025-08-12 02:27:04 -07:00
parent 3537fe2f4e
commit 842247f8e4

View File

@@ -39,5 +39,5 @@ USER bot
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
ENV CONFIG_PATH=/app/config.ini ENV CONFIG_PATH=/app/config.ini
# Command to run the bot # Command to run the bot (using exec form and signal handling)
CMD ["sh", "-c", "python generate_config.py && python pterodisbot.py"] CMD ["sh", "-c", "python generate_config.py && exec python pterodisbot.py"]