diff --git a/src/frontend/debug.dockerfile b/src/frontend/debug.dockerfile index ed400dc57c..2ba5b4648f 100755 --- a/src/frontend/debug.dockerfile +++ b/src/frontend/debug.dockerfile @@ -3,7 +3,7 @@ WORKDIR /app COPY ./package.json ./pnpm-lock.yaml ./ ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable +RUN corepack enable && corepack use pnpm@9.3.0 RUN pnpm install ENV NODE_ENV development ENTRYPOINT ["pnpm", "run", "dev"] diff --git a/src/frontend/prod.dockerfile b/src/frontend/prod.dockerfile index 9fa1d6c008..c0cc092adb 100644 --- a/src/frontend/prod.dockerfile +++ b/src/frontend/prod.dockerfile @@ -7,7 +7,7 @@ WORKDIR /app COPY ./package.json ./pnpm-lock.yaml ./ ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable +RUN corepack enable && corepack use pnpm@9.3.0 RUN pnpm install ARG NODE_ENV