add missing import for onlyoffice views

This commit is contained in:
Gerrit Gogel 2021-11-16 17:00:21 +03:00
parent 0ccaad60a4
commit 3410ef19f7

View file

@ -12,6 +12,8 @@ RUN sed -i "s@.*INNER_FILE_SERVER_ROOT.*@INNER_FILE_SERVER_ROOT = os.environ.get
RUN sed -i '/warning_if_seafile_not_running;/d' /tmp/seafile-server-${SEAFILE_VERSION}/seahub.sh RUN sed -i '/warning_if_seafile_not_running;/d' /tmp/seafile-server-${SEAFILE_VERSION}/seahub.sh
RUN sed -i '1s;^;from django.core.cache import cache\n;' /tmp/seafile-server-${SEAFILE_VERSION}/seahub/seahub/onlyoffice/views.py
FROM alpine:3.13.6 AS pip FROM alpine:3.13.6 AS pip
RUN apk add --no-cache \ RUN apk add --no-cache \