From cbdbd7f7cf12a47dedea3296639b985fd9ced3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Mon, 1 Mar 2021 17:35:43 +0100 Subject: [PATCH] Set WORKDIR to /app/src before setting CMD. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6b39974..f4fb162 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,4 +41,5 @@ ARG BUILD ENV BUILD ${BUILD} ENTRYPOINT ["./entrypoint.sh"] +WORKDIR /app/src CMD ["uvicorn", "project.asgi:application", "--host", "0.0.0.0", "--port", "8000", "--workers", "3", "--lifespan", "off"]