Skip to content

Commit

Permalink
Update Node.js version and install latest corepack in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
guillecro committed Feb 6, 2025
1 parent 212b620 commit 5e1462c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ARG NODE_VERSION=20.14.0
ARG NODE_VERSION=22.11.0
ARG NODE_VERSION=22.13.1

# Create build stage
FROM node:${NODE_VERSION}-slim AS build
Expand All @@ -10,6 +10,8 @@ RUN npm install -g pnpm
# Enable pnpm
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# Update corepack npm install -g corepack@latest
RUN npm install -g corepack@latest
RUN corepack enable


Expand Down

0 comments on commit 5e1462c

Please sign in to comment.