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.

remove allowed-build config

Francis Caod65d6670f7fe
diff --git a/Dockerfile b/Dockerfile
index 8d707c8c5..b87f8b738 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,9 +8,7 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN npm install -g pnpm@${PNPM_VERSION}
-RUN pnpm install --frozen-lockfile \
- --config.strictDepBuilds=false \
- --allow-build='@prisma/engines,@swc/core,esbuild,prisma,sharp,unrs-resolver'
+RUN pnpm install --frozen-lockfile --config.strictDepBuilds=false
# Rebuild the source code only when needed
FROM node:${NODE_IMAGE_VERSION} AS builder
diff --git a/package.json b/package.json
index db8c39f83..e733a9fce 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,21 @@
"type": "git",
"url": "https://github.com/umami-software/umami.git"
},
+ "pnpm": {
+ "ignoredBuiltDependencies": [
+ "@parcel/watcher",
+ "cypress"
+ ],
+ "onlyBuiltDependencies": [
+ "@prisma/client",
+ "@prisma/engines",
+ "@swc/core",
+ "esbuild",
+ "prisma",
+ "sharp",
+ "unrs-resolver"
+ ]
+ },
"type": "module",
"scripts": {
"dev": "dotenv next dev --turbo",