remove allowed-build config

This commit is contained in:
Francis Cao
2026-05-20 10:14:13 -07:00
parent 4883f1e630
commit d65d6670f7
2 changed files with 16 additions and 3 deletions
+1 -3
View File
@@ -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
+15
View File
@@ -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",