Skip to content

Commit 2ec78d3

Browse files
author
Deployment Bot
committed
fix: Replace npm ci with npm install to handle missing package-lock.json
1 parent 6eb162f commit 2ec78d3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR /app
77
COPY package*.json ./
88

99
# Install dependencies
10-
RUN npm ci
10+
RUN npm install
1111

1212
# Copy source code
1313
COPY . .
@@ -31,7 +31,7 @@ RUN apk add --no-cache dumb-init curl
3131
COPY package*.json ./
3232

3333
# Install production dependencies only
34-
RUN npm ci --only=production
34+
RUN npm install --only=production
3535

3636
# Copy built application from builder
3737
COPY --from=builder /app/dist ./dist

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ WORKDIR /app
77
COPY package*.json ./
88

99
# Install dependencies
10-
RUN npm ci
10+
RUN npm install
1111

1212
# Copy source
1313
COPY . .

0 commit comments

Comments
 (0)