From 87ab5f189f679ddbbb3535c8d00f1d3450392578 Mon Sep 17 00:00:00 2001 From: Biel Stela Date: Mon, 16 Dec 2024 16:11:45 +0100 Subject: [PATCH] Add root-path to uvicorn run command --- api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index b95b4b07..df066a80 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -21,7 +21,7 @@ RUN pip install --no-cache-dir -r requirements.txt EXPOSE 8000 -CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--root-path", "/api/"] FROM production as development