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