From dd6d4406627b663d620a15c768a18e14334cdc66 Mon Sep 17 00:00:00 2001 From: GabrielBarberini Date: Sat, 16 Dec 2023 16:04:35 -0300 Subject: [PATCH] removes apprunner yaml --- Dockerfile | 2 +- apprunner.yaml | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 apprunner.yaml diff --git a/Dockerfile b/Dockerfile index 18bb7b0..b3df71f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ RUN apt-get update && \ COPY ./lib /code/lib -CMD ["gunicorn", "-k", "uvicorn.workers.UvicornWorker", "lib:app", "-b", "0.0.0.0:3000"] +CMD ["gunicorn", "-w 4", "-k", "uvicorn.workers.UvicornWorker", "lib:app", "--log-level", "Debug", "-b", "0.0.0.0:3000"] diff --git a/apprunner.yaml b/apprunner.yaml deleted file mode 100644 index a7eb856..0000000 --- a/apprunner.yaml +++ /dev/null @@ -1,14 +0,0 @@ -version: 2.0 -runtime: python3 - -build: - commands: - build: - - yum update -y - - yum install -y git - - pip install -r requirements.txt - -run: - command: gunicorn -w 4 -k uvicorn.workers.UvicornWorker lib:app --log-level Debug -b 0.0.0.0:3000 - network: - port: 3000