From 3410ef19f722601056d1b42655c3801d3c94b376 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Tue, 16 Nov 2021 17:00:21 +0300 Subject: [PATCH] add missing import for onlyoffice views --- seahub/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seahub/Dockerfile b/seahub/Dockerfile index 96341be..7d44e4d 100644 --- a/seahub/Dockerfile +++ b/seahub/Dockerfile @@ -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 '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 RUN apk add --no-cache \