#!/usr/bin/env bash set -e cd /home/user/app /usr/local/bin/ttyd -p 7681 /bin/bash& echo "Console Auth <$CONSOLE_AUTH>" echo "$CONSOLE_AUTH" > /etc/nginx/htpasswd nginx python whisper.py& if [ "$DEBUG" = true ] ; then echo 'Debugging - ON' uvicorn api:app --host 0.0.0.0 --port 7880 --reload else echo 'Debugging - OFF' uvicorn api:app --host 0.0.0.0 --port 7880 echo $? echo END fi