Skip to content

Commit

Permalink
Allow this to be customized for the build
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Nov 7, 2023
1 parent 7380233 commit f30f5f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions local/docker/wordpress/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit f30f5f5

Please sign in to comment.