fix(deploy): skip lifecycle scripts during pnpm prune
This commit is contained in:
@@ -19,7 +19,7 @@ ENV SENTRY_ENABLED=false
|
||||
ENV NUXT_TELEMETRY_DISABLED=1
|
||||
|
||||
COPY . .
|
||||
RUN pnpm run build && pnpm prune --prod
|
||||
RUN pnpm run build && pnpm prune --prod --ignore-scripts
|
||||
|
||||
FROM node:22-slim AS runtime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user