diff --git a/.lagoon/Dockerfile b/.lagoon/Dockerfile index 8c3123e2a..544b89475 100644 --- a/.lagoon/Dockerfile +++ b/.lagoon/Dockerfile @@ -1,8 +1,13 @@ # ==================================================================================================== # BUILDER IMAGE # ==================================================================================================== +FROM uselagoon/node-18-builder as node FROM uselagoon/php-8.2-cli-drupal as builder +COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules +COPY --from=node /usr/local/bin/node /usr/local/bin/node +RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm + ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 # Install pnpm