diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..e8f1738 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,8 @@ +#!/bin/bash +python3.6 bot.py > bot-log.txt 2>&1 & +nodejs foobar.js > node-log.txt 2>&1 & + +for job in $(jobs -p); do + echo Waiting for ${job} to terminate. + wait ${job} +done \ No newline at end of file