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.

Include prisma engine in Docker image

Maxime-J46388f8b41a6
diff --git a/Dockerfile b/Dockerfile
index 39887e465..32300687f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -42,10 +42,7 @@ RUN set -x \
&& apk add --no-cache curl
# Script dependencies
-RUN pnpm add npm-run-all dotenv chalk semver [email protected] @prisma/[email protected]
-
-# Permissions for prisma
-RUN chown -R nextjs:nodejs node_modules/.pnpm/
+RUN pnpm --allow-build='@prisma/engines' add npm-run-all dotenv chalk semver [email protected] @prisma/[email protected]
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
COPY --from=builder /app/prisma ./prisma