Skip to content

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

fix(public): fix problems with building #5

Carl-Gerhard Lindesvärd29f9e8fe0213
diff --git a/apps/public/Dockerfile b/apps/public/Dockerfile
index 7447374a0..34617b1cf 100644
--- a/apps/public/Dockerfile
+++ b/apps/public/Dockerfile
@@ -5,6 +5,12 @@ FROM --platform=linux/amd64 node:${NODE_VERSION}-slim AS base
ARG DATABASE_URL
ENV DATABASE_URL=$DATABASE_URL
+ARG REDIS_URL
+ENV REDIS_URL=$REDIS_URL
+
+ARG CLICKHOUSE_URL
+ENV CLICKHOUSE_URL=$CLICKHOUSE_URL
+
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"