fix: allow scripts in docker build

This commit is contained in:
Manohar Gupta 2026-05-10 03:52:42 +05:30
parent 1706e8e509
commit de6502fed8

View file

@ -3,7 +3,7 @@ FROM node:22-alpine AS deps
RUN corepack enable && apk add --no-cache libc6-compat RUN corepack enable && apk add --no-cache libc6-compat
WORKDIR /app WORKDIR /app
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile RUN pnpm config set ignore-scripts false && pnpm install --frozen-lockfile
# Stage 2: Build the app # Stage 2: Build the app
FROM node:22-alpine AS builder FROM node:22-alpine AS builder