Use npm install instead of npm ci for deployment flexibility

This commit is contained in:
2025-12-02 13:14:46 +00:00
parent d677fcb9b5
commit ce7021e3fa

View File

@@ -9,7 +9,7 @@ WORKDIR /app
# Copy package files # Copy package files
COPY package.json package-lock.json* ./ COPY package.json package-lock.json* ./
# Install dependencies but skip Prisma postinstall # Install dependencies but skip Prisma postinstall
RUN npm ci --ignore-scripts RUN npm install --ignore-scripts
# Rebuild the source code only when needed # Rebuild the source code only when needed
FROM base AS builder FROM base AS builder