Add signal handling to container
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 1m6s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 1m6s
This commit is contained in:
@@ -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"]
|
||||
# Command to run the bot (using exec form and signal handling)
|
||||
CMD ["sh", "-c", "python generate_config.py && exec python pterodisbot.py"]
|
Reference in New Issue
Block a user