diff --git a/Dockerfile b/Dockerfile index ba56f90ad99c88443f31cb32b6e69286d64492ba..c344370e193801a61d05334764f55cf1a0fd366e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,7 +73,6 @@ RUN echo "$REPO_URL" | tee /etc/apt/sources.list.d/onlyoffice.list && \ apt-get -y update && \ service postgresql start && \ apt-get --allow-unauthenticated -yq install $PRODUCT_NAME && \ - documentserver-static-gzip.sh && \ service postgresql stop && \ service supervisor stop && \ chmod 755 /app/onlyoffice/*.sh && \ diff --git a/run-document-server.sh b/run-document-server.sh index e3229b4a2147972fe7dca9db8b78786a63e1bdc4..d95673e5a871e8e2eac44acedac15e2036cdb267 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -336,3 +336,4 @@ service nginx start # Regenerate the fonts list and the fonts thumbnails documentserver-generate-allfonts.sh ${ONLYOFFICE_DATA_CONTAINER} +documentserver-static-gzip.sh ${ONLYOFFICE_DATA_CONTAINER}