add env variables

This commit is contained in:
Gerrit Gogel 2021-01-22 19:13:37 +01:00
parent e9f3bac031
commit 883da811c8

View file

@ -61,6 +61,12 @@ COPY --from=get /tmp/seafile-server*/seafile/lib64/python3.6/site-packages /usr/
COPY scripts /scripts
RUN chmod u+x /scripts/*
ENV PYTHONPATH=/usr/lib/python3.6/site-packages:/opt/seafile/seafile-server-latest/seahub/thirdpart
ENV CCNET_CONF_DIR=/opt/seafile/conf/ccnet
ENV SEAFILE_CONF_DIR=/opt/seafile/seafile-data
ENV SEAFILE_CENTRAL_CONF_DIR=/opt/seafile/conf
ENV SEAFILE_RPC_PIPE_PATH=/opt/seafile/seafile-server-latest/runtime
EXPOSE 8000
CMD ["/scripts/start.sh"]