Cahya Wirawan
move to Dockerfile
7191ca8
raw
history blame
373 Bytes
#!/usr/bin/env bash
set -e
cd /home/user/app
id
ls -ld /var/log/nginx/ /var/lib/nginx/ /run
ls -la /
ls -la ~
nginx
python whisper.py&
if [ "$DEBUG" = true ] ; then
echo 'Debugging - ON'
uvicorn web_socket:app --host 0.0.0.0 --port 7880 --reload
else
echo 'Debugging - OFF'
uvicorn web_socket:app --host 0.0.0.0 --port 7880
echo $?
echo END
fi