mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
Update docker file to support ENABLE_WEBDAV_SECRET
When 2FA login is activated, webdav does not work, because it does not support 2FA. The option ENABLE_WEBDAV_SECRET enables a additional secret for WebDAV login. This feature needs pycryptodome.
This commit is contained in:
parent
ec1380315c
commit
132a79bd0d
|
@ -28,8 +28,15 @@ python3-colorlog \
|
|||
python3-pymysql \
|
||||
python3-jinja2 \
|
||||
python3-sqlalchemy \
|
||||
python3-pip \
|
||||
python3-setuptools \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN python3 -m pip install --upgrade pip &&\
|
||||
pip3 install --timeout=3600 \
|
||||
pycryptodome==3.12.0 \
|
||||
&& rm -r /root/.cache/pip
|
||||
|
||||
ENV SEAFILE_VERSION=9.0.4
|
||||
|
||||
COPY --from=get /tmp/seafile-server-${SEAFILE_VERSION} /opt/seafile/seafile-server-${SEAFILE_VERSION}
|
||||
|
|
Loading…
Reference in a new issue