Loading Dockerfile +3 −0 Original line number Diff line number Diff line Loading @@ -55,5 +55,8 @@ RUN wp core download --skip-content --locale=en_GB --version=${wp_version} \ COPY opcache.ini /usr/local/etc/php/conf.d/opcache-recommended.ini COPY entrypoint.sh /bin/entrypoint # PAGER is used by the wp-cli tool, the default 'less' is not installed ENV PAGER=more ENTRYPOINT ["/bin/entrypoint"] CMD ["php-fpm"] wp.sh +1 −1 Original line number Diff line number Diff line Loading @@ -3,4 +3,4 @@ # installing it as root is idiocy. WP needs to be installed owned by a user # seperate from the server's user. 'root' is available for such, besides which # root in a container is not really root. exec php /usr/local/lib/wp-cli.phar --allow-root "$@" exec php -d memory_limit=512M /usr/local/lib/wp-cli.phar --allow-root "$@" Loading
Dockerfile +3 −0 Original line number Diff line number Diff line Loading @@ -55,5 +55,8 @@ RUN wp core download --skip-content --locale=en_GB --version=${wp_version} \ COPY opcache.ini /usr/local/etc/php/conf.d/opcache-recommended.ini COPY entrypoint.sh /bin/entrypoint # PAGER is used by the wp-cli tool, the default 'less' is not installed ENV PAGER=more ENTRYPOINT ["/bin/entrypoint"] CMD ["php-fpm"]
wp.sh +1 −1 Original line number Diff line number Diff line Loading @@ -3,4 +3,4 @@ # installing it as root is idiocy. WP needs to be installed owned by a user # seperate from the server's user. 'root' is available for such, besides which # root in a container is not really root. exec php /usr/local/lib/wp-cli.phar --allow-root "$@" exec php -d memory_limit=512M /usr/local/lib/wp-cli.phar --allow-root "$@"