added entrypoint.sh
This commit is contained in:
parent
202cbd4af9
commit
50f9330b6f
8
entrypoint.sh
Normal file
8
entrypoint.sh
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user