set -e | |
cd /fastapi/app | |
if [ "$DEBUG" = true ] ; then | |
echo 'Debugging - ON' | |
uvicorn main:app --host 0.0.0.0 --port 80 --reload | |
else | |
echo 'Debugging - OFF' | |
uvicorn main:app --host 0.0.0.0 --port 80 | |
fi |
set -e | |
cd /fastapi/app | |
if [ "$DEBUG" = true ] ; then | |
echo 'Debugging - ON' | |
uvicorn main:app --host 0.0.0.0 --port 80 --reload | |
else | |
echo 'Debugging - OFF' | |
uvicorn main:app --host 0.0.0.0 --port 80 | |
fi |