Loading Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,8 @@ WORKDIR /app VOLUME /app/wp-content ENV WORDPRESS_ROOT=/app ADD https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar /usr/local/bin/wp.php ADD https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ /usr/local/lib/wp-cli.phar COPY wp.sh /usr/local/bin/wp COPY --from=compile /usr/local/etc/php /usr/local/etc/php COPY --from=compile /usr/local/lib/php /usr/local/lib/php Loading 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/bin/wp.php --allow-root "$@" exec php /usr/local/lib/wp-cli.phar --allow-root "$@" Loading
Dockerfile +2 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,8 @@ WORKDIR /app VOLUME /app/wp-content ENV WORDPRESS_ROOT=/app ADD https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar /usr/local/bin/wp.php ADD https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ /usr/local/lib/wp-cli.phar COPY wp.sh /usr/local/bin/wp COPY --from=compile /usr/local/etc/php /usr/local/etc/php COPY --from=compile /usr/local/lib/php /usr/local/lib/php Loading
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/bin/wp.php --allow-root "$@" exec php /usr/local/lib/wp-cli.phar --allow-root "$@"