From ea6c4c2233d374507e8df0fd6037a6caf3a6bc2a Mon Sep 17 00:00:00 2001 From: Phil Jirsa Date: Fri, 14 Mar 2025 12:47:17 -0500 Subject: [PATCH] use hypercorn instead of gunicorn --- infra/main.bicep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/main.bicep b/infra/main.bicep index b268ea36b7..66e0234c88 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -449,7 +449,7 @@ module backend 'core/host/appservice.bicep' = if (deploymentTarget == 'appservic appServicePlanId: deploymentTarget == 'appservice' ? appServicePlan.outputs.id : '' runtimeName: 'python' runtimeVersion: '3.11' - appCommandLine: 'python3 -m gunicorn main:app' + appCommandLine: 'hypercorn -b "0.0.0.0:8000" main:app' scmDoBuildDuringDeployment: true managedIdentity: true virtualNetworkSubnetId: isolation.outputs.appSubnetId