Replace npm ci with npm install to fix Docker build issues

This commit is contained in:
Greg 2025-08-18 00:31:25 +02:00
parent 3b9370b965
commit 60b916b883

View File

@ -5,7 +5,7 @@ WORKDIR /app
# Install all deps for build
COPY package*.json ./
RUN npm ci && npm cache clean --force
RUN npm install && npm cache clean --force
# Build frontend
COPY . .
@ -22,7 +22,7 @@ RUN apk add --no-cache curl
# Copy package.json and production dependencies
COPY package*.json ./
RUN npm ci --only=production && npm cache clean --force
RUN npm install --omit=dev && npm cache clean --force
# Copy server files and built frontend
COPY server ./server