diff --git a/backend/Dockerfile b/backend/Dockerfile index 01c5d9f..a35507a 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -8,7 +8,7 @@ FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm install COPY . . RUN npm run build @@ -24,7 +24,7 @@ WORKDIR /app # Copy only production deps COPY package*.json ./ -RUN npm ci --only=production && npm cache clean --force +RUN npm install --only=production && npm cache clean --force # Copy built application COPY --from=builder /app/dist ./dist