websocket / start.sh
cahya's picture
first commit
594d38b
raw
history blame
236 Bytes
#!/usr/bin/env bash
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