From 899208722016e55e046d61ca5d1b77a09245d046 Mon Sep 17 00:00:00 2001 From: clucraft Date: Tue, 20 Jan 2026 14:02:06 -0500 Subject: [PATCH] Fix Dockerfiles: use npm install instead of npm ci npm ci requires package-lock.json which wasn't generated. Using npm install instead for builds. Co-Authored-By: Claude Opus 4.5 --- backend/Dockerfile | 4 ++-- frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 8410f83..5362429 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app COPY package*.json ./ # Install dependencies -RUN npm ci +RUN npm install # Copy source code COPY . . @@ -24,7 +24,7 @@ WORKDIR /app COPY package*.json ./ # Install production dependencies only -RUN npm ci --only=production +RUN npm install --omit=dev # Copy built files from builder COPY --from=builder /app/dist ./dist diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 6464d87..07e512d 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app COPY package*.json ./ # Install dependencies -RUN npm ci +RUN npm install # Copy source code COPY . .