diff --git a/start.sh b/start.sh index 53e8648..ec4a580 100755 --- a/start.sh +++ b/start.sh @@ -7,5 +7,5 @@ if [ -d "/host_root" ]; then fi # Inicia o serviço web com log unbuffered -echo "Iniciando Uvicorn..." -exec uvicorn main:app --host 0.0.0.0 --port 8001 +echo "Iniciando Uvicorn na porta ${PORT:-8001}..." +exec uvicorn main:app --host 0.0.0.0 --port ${PORT:-8001}