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
Co-authored-by: Leksat <[email protected]>
  • Loading branch information
pmelab and Leksat committed Dec 12, 2023
1 parent 7c2e7d0 commit 2174a65
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 2174a65

Please sign in to comment.