From 6ab6ad377e030f71b7ee2fb45a544da67336ef1f Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Tue, 19 Mar 2024 19:24:05 +0800 Subject: [PATCH] feat: update bootstrap unicorn --- .aws/task_definition.json | 9 +-------- .aws/task_definition_preview.json | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.aws/task_definition.json b/.aws/task_definition.json index d21477b5..53b05eae 100644 --- a/.aws/task_definition.json +++ b/.aws/task_definition.json @@ -17,14 +17,7 @@ ], "essential": true, "command": [ - "uvicorn", - "app:app", - "--host", - "0.0.0.0", - "--port", - "5050", - "--workers", - "6" + "app.handler" ], "environment": [], "environmentFiles": [ diff --git a/.aws/task_definition_preview.json b/.aws/task_definition_preview.json index 5edb4f13..5f4a23c0 100644 --- a/.aws/task_definition_preview.json +++ b/.aws/task_definition_preview.json @@ -16,14 +16,7 @@ } ], "command": [ - "uvicorn", - "app:app", - "--host", - "0.0.0.0", - "--port", - "5050", - "--workers", - "6" + "app.handler" ], "essential": true, "environment": [],