diff --git a/Dockerfile b/Dockerfile index 263c4cb9..3aa31df1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # build on top of base nodejs image -FROM node:20.15.1 AS base +FROM node:22.13.1 AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable +RUN npm i -g corepack@latest && corepack enable # copy package.json and pnpm-lock.yaml to the container WORKDIR /usr/src/react-ui