From 55fd4cdd6c47230fb1f23316adadcb7c186cc1bc 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 21:44:57 +0100 Subject: [PATCH] Expose port 8000 in the image. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e697ab7..962a34e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,4 +42,6 @@ ENV BUILD ${BUILD} ENTRYPOINT ["./entrypoint.sh"] +EXPOSE 8000 + CMD ["uvicorn", "project.asgi:application", "--host", "0.0.0.0", "--port", "8000", "--workers", "3", "--lifespan", "off", "--app-dir", "/app/src"]