diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 6c63167e..38db1194 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -2,6 +2,9 @@ ARG NODE_VERSION=20.15.1 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 && \ apt-get install -y --no-install-recommends \ ca-certificates \ diff --git a/apps/worker/Dockerfile b/apps/worker/Dockerfile index ff925b58..595d8bd1 100644 --- a/apps/worker/Dockerfile +++ b/apps/worker/Dockerfile @@ -2,6 +2,9 @@ ARG NODE_VERSION=20.15.1 FROM node:${NODE_VERSION}-slim AS base +# FIX: Bad workaround (https://github.com/nodejs/corepack/issues/612) +ENV COREPACK_INTEGRITY_KEYS=0 + ARG DATABASE_URL ENV DATABASE_URL=$DATABASE_URL ENV PNPM_HOME="/pnpm"