Use npm install instead of npm ci for deployment flexibility
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user