Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix cloud docker runtime dependency install

Francis Cao6e8660c3975d
diff --git a/Dockerfile b/Dockerfile
index ebd6866d4..90fb0c867 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,14 +39,10 @@ ENV NODE_OPTIONS=$NODE_OPTIONS
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
RUN set -x \
- && apk add --no-cache curl \
- && npm install -g pnpm@${PNPM_VERSION}
-
-# Keep the repo's pnpm build-script policy available in this stage.
-COPY pnpm-workspace.yaml ./
+ && apk add --no-cache curl
# Script dependencies
-RUN pnpm --allow-build='@prisma/engines,prisma' add npm-run-all dotenv chalk semver \
+RUN npm install --no-save npm-run-all dotenv chalk semver \
prisma@${PRISMA_VERSION} \
@prisma/client@${PRISMA_VERSION} \
@prisma/adapter-pg@${PRISMA_VERSION}