From deb62a3570465c06dd7aeae5bbf6bb93024638b3 Mon Sep 17 00:00:00 2001 From: molotgor Date: Wed, 19 Jun 2024 15:57:47 +0400 Subject: [PATCH] add --user installments of packages --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5ff60b8..6da992c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ USER json-stream ENV HOME="/home/json-stream" ENV PATH="${HOME}/.local/bin:${PATH}" ENV XDG_CACHE_HOME="${HOME}/.cache" -ENV PYTHONPATH="${HOME}/.local/lib/python3.9/site-packages:${PYTHONPATH}" +ENV PYTHONPATH="${HOME}:/home/jovyan/.local/lib/python3.9/site-packages:/.local/lib/python3.9/site-packages:${PYTHONPATH}" ENV PIP_CONFIG_FILE="${HOME}/.pip/pip.conf" ENTRYPOINT ["python", "/app/server.py"]