Browse Source

Upgrade nextcloud image

Victor Lavaud 5 months ago
parent
commit
e87522ac35
1 changed files with 2 additions and 2 deletions
  1. 2 2
      nextcloud/image/Dockerfile

+ 2 - 2
nextcloud/image/Dockerfile

@@ -1,4 +1,4 @@
-FROM nextcloud:29.0.0-apache
+FROM nextcloud:29.0.1-apache
 
 RUN apt-get update && apt-get install -y \
     supervisor \
@@ -9,7 +9,7 @@ COPY supervisord.conf /
 
 ENV NEXTCLOUD_UPDATE=1
 
-RUN echo '*/15 * * * * php /var/www/html/occ preview:generate' >> /var/spool/cron/crontabs/www-data
+RUN echo '*/15 * * * * php /var/www/html/occ preview:generate-all --no-interaction' >> /var/spool/cron/crontabs/www-data
 RUN echo '0 2 * * 0 php /var/www/html/occ recognize:recrawl' >> /var/spool/cron/crontabs/www-data
 RUN echo '1 2 * * 0 php /var/www/html/occ recognize:cleanup-tags' >> /var/spool/cron/crontabs/www-data