From fcd814d8e8762ccf6c2e3e0dbcc878db57427412 Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Date: Thu, 9 Mar 2023 16:45:17 +0100 Subject: [PATCH] Fixed pythonpath in wls dockerfile --- wls-module/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wls-module/Dockerfile b/wls-module/Dockerfile index 4a03a60..12f8353 100644 --- a/wls-module/Dockerfile +++ b/wls-module/Dockerfile @@ -25,5 +25,7 @@ COPY . . # Deploy the virtualenv in production image ENV PATH="/opt/venv/bin:$PATH" +ENV PYTHONPATH "${PYTHONPATH}:/wls/src/" + # Set the entrypoint -ENTRYPOINT ["python", "wls.py"] \ No newline at end of file +ENTRYPOINT ["python", "src/wls.py"] \ No newline at end of file