fix: Update Dockerfile to use npm install --production instead of npm ci --production

This commit is contained in:
Kunthawat Greethong
2026-03-09 20:35:25 +07:00
parent 57e88dae25
commit 6111b0e6ee
3 changed files with 184 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ RUN npm run build
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
RUN npm install --production
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/db ./db