diff --git a/local/docker/wordpress/Dockerfile b/local/docker/wordpress/Dockerfile index 148d41aa..14d6894f 100644 --- a/local/docker/wordpress/Dockerfile +++ b/local/docker/wordpress/Dockerfile @@ -1,11 +1,12 @@ FROM wordpress:php8.0-apache +# Can be overridden in docker-compose.yml via the build args. +ARG NODE_VERSION=18 + # Set cache directories to a predictable location for re-use. ENV COMPOSER_HOME /tmp/.composer ENV npm_config_cache /tmp/.npmcache -ENV NODE_VERSION 18 - # Add path to Composer binaries to this environment. ENV PATH /var/www/html/wp-content/plugins/vendor/bin:$PATH