remove allowed-build config
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user