From 24f7f9e334eca2f05bd9bc9a4c03bda37b1cf04e Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Thu, 23 Feb 2023 14:46:23 +0100 Subject: [PATCH] update python modules path --- seahub/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seahub/Dockerfile b/seahub/Dockerfile index ffba2c2..8d1b5bf 100644 --- a/seahub/Dockerfile +++ b/seahub/Dockerfile @@ -62,7 +62,7 @@ COPY --from=get /tmp/seafile-server*/runtime /opt/seafile/seafile-server-latest/ COPY --from=get /tmp/seafile-server*/seahub.sh /opt/seafile/seafile-server-latest/seahub.sh COPY --from=get /tmp/seafile-server*/check_init_admin.py /opt/seafile/seafile-server-latest/check_init_admin.py COPY --from=get /tmp/seafile-server*/seafile/lib/python3/site-packages /opt/seafile/seafile-server-latest/seafile/lib/python3/site-packages -COPY --from=pip /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages +COPY --from=pip /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages COPY scripts /scripts RUN chmod u+x /scripts/* @@ -70,7 +70,7 @@ RUN mkdir -p /opt/seafile/logs &&\ touch /opt/seafile/logs/seahub.log &&\ mkdir -p /opt/seafile/pids -ENV PYTHONPATH=/usr/local/lib/python3.8/site-packages:/opt/seafile/seafile-server-latest/seahub/thirdpart:/opt/seafile/seafile-server-latest/seafile/lib/python3/site-packages:/opt/seafile/seafile-server-latest/seahub +ENV PYTHONPATH=/usr/local/lib/python3.10/site-packages:/opt/seafile/seafile-server-latest/seahub/thirdpart:/opt/seafile/seafile-server-latest/seafile/lib/python3/site-packages:/opt/seafile/seafile-server-latest/seahub ENV CCNET_CONF_DIR=/opt/seafile/conf/ccnet ENV SEAFILE_CONF_DIR=/opt/seafile/seafile-data ENV SEAFILE_CENTRAL_CONF_DIR=/opt/seafile/conf