|
@@ -1,4 +1,4 @@
|
|
|
-FROM nextcloud:28.0.1-apache
|
|
|
+FROM nextcloud:28.0.2-apache
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
supervisor \
|
|
@@ -9,6 +9,8 @@ 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' >> /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
|
|
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]]
|