| cat /tmp/php_nc.ini >> /etc/php/7.4/cli/php.ini | cat /tmp/php_nc.ini >> /etc/php/7.4/cli/php.ini | ||||
| # https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#php-fpm-tips-label | # https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html#php-fpm-tips-label | ||||
| RUN sed -i 's/^;env/env/g' /etc/php/7.4/fpm/pool.d/www.conf | RUN sed -i 's/^;env/env/g' /etc/php/7.4/fpm/pool.d/www.conf | ||||
| # https://github.com/nextcloud/vm/issues/2039#issuecomment-876204446 | |||||
| RUN echo "" >> /etc/php/7.4/mods-available/apcu.ini | |||||
| RUN echo "apc.enable_cli=1" >> /etc/php/7.4/mods-available/apcu.ini | |||||
| # Create the data-directory where NEXTCLOUD can store its stuff | # Create the data-directory where NEXTCLOUD can store its stuff | ||||
| RUN mkdir -p "${NEXTCLOUD_DATA_PATH}" && \ | RUN mkdir -p "${NEXTCLOUD_DATA_PATH}" && \ |