Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(ci): pnpm broken

Carl-Gerhard Lindesvärd10f648fa51f4
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index 6c63167ed..38db11948 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 ff925b589..595d8bd1c 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"