diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 249c1599..e9eed017 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -5,7 +5,7 @@ FROM node:${NODE_VERSION}-slim AS base # FIX: Bad workaround (https://github.com/nodejs/corepack/issues/612) ENV COREPACK_INTEGRITY_KEYS=0 -RUN corepack enable && apt-get update && \ +RUN corepack enable && npm install -g pnpm@10.6.2 && corepack disable && apt-get update && \ apt-get install -y --no-install-recommends \ ca-certificates \ openssl \ diff --git a/apps/start/Dockerfile b/apps/start/Dockerfile index 71a3647b..8c983e46 100644 --- a/apps/start/Dockerfile +++ b/apps/start/Dockerfile @@ -5,7 +5,7 @@ FROM node:${NODE_VERSION}-slim AS base # FIX: Bad workaround (https://github.com/nodejs/corepack/issues/612) ENV COREPACK_INTEGRITY_KEYS=0 -RUN corepack enable && apt-get update && \ +RUN corepack enable && npm install -g pnpm@10.6.2 && corepack disable && apt-get update && \ apt-get install -y --no-install-recommends \ ca-certificates \ openssl \ diff --git a/apps/worker/Dockerfile b/apps/worker/Dockerfile index 39d5c3fe..d1fa086b 100644 --- a/apps/worker/Dockerfile +++ b/apps/worker/Dockerfile @@ -10,7 +10,7 @@ ENV DATABASE_URL=$DATABASE_URL ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable && \ +RUN corepack enable && npm install -g pnpm@10.6.2 && corepack disable && \ apt-get update && \ apt-get install -y --no-install-recommends \ ca-certificates \