From a99fba03eb5840994f42a9d9f233c59c74fd712e Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Wed, 14 Feb 2024 15:53:12 +0100 Subject: [PATCH] Set route path correctly(?) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4ca2058..dcd73f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,6 @@ RUN conda run -n webproj python -m pip install --no-deps . RUN conda run -n webproj pyproj sync --source-id dk_sdfe --target-dir $WEBPROJ_LIB RUN conda run -n webproj pyproj sync --source-id dk_sdfi --target-dir $WEBPROJ_LIB -CMD ["conda", "run", "-n", "webproj", "uvicorn", "--proxy-headers", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--route_path", "rest/webproj_test/" ] +CMD ["conda", "run", "-n", "webproj", "uvicorn", "--proxy-headers", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--route_path", "/rest/webproj_test" ] EXPOSE 80