Add php modules for performance tuning

This commit is contained in:
Glenn Y. Rolland 2021-01-24 00:07:42 +01:00
parent 6af21d2ac6
commit 0d3cb7cf48
1 changed files with 5 additions and 2 deletions

View File

@ -7,8 +7,11 @@
# FROM nextcloud:20.0.0-apache
FROM nextcloud:20.0.5-apache
# RUN apt-get update && \
# apt-get install -q -y cron && \
RUN apt-get update && \
&& apt-get install -y php-apcu php-redis \
&& apt-get clean
# apt-get install -q -y cron && \
# apt-get clean
# RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab