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