Use 2 docker containers for bot and webservice
This commit is contained in:
2
telegram_bot/deploy/healthcheck.sh
Normal file
2
telegram_bot/deploy/healthcheck.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
curl -s http://localhost:80/ -o /dev/null || exit 1
|
2
telegram_bot/deploy/start.sh
Normal file
2
telegram_bot/deploy/start.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
python bot.py
|
Reference in New Issue
Block a user