Skip to content

Commit

Permalink
fix(SLB-207): use node version from node container
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Dec 12, 2023
1 parent abf48c9 commit d0a6cc7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .lagoon/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d0a6cc7

Please sign in to comment.