From 0d3cb7cf482541e49bc84b47c8524ba7d72e6132 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sun, 24 Jan 2021 00:07:42 +0100 Subject: [PATCH] Add php modules for performance tuning --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 758146a..e2c17bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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