diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index d5fd2bf..537ce02 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -2,7 +2,7 @@ # Make sure you update both files! FROM node:alpine AS builder -RUN corepack enable && corepack prepare pnpm@latest --activate +RUN corepack enable && corepack prepare pnpm@8.9.0 --activate ENV PNPM_HOME=/usr/local/bin # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 4a7178f..6a26f27 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -2,7 +2,7 @@ # Make sure you update both files! FROM node:alpine AS builder -RUN corepack enable && corepack prepare pnpm@latest --activate +RUN corepack enable && corepack prepare pnpm@8.9.0 --activate ENV PNPM_HOME=/usr/local/bin # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat