Fix Dockerfile: use npm install instead of npm ci

This commit is contained in:
Kunthawat Greethong
2026-03-13 08:46:48 +07:00
parent 58890b0230
commit 85012d78ef

View File

@@ -7,7 +7,7 @@ RUN npm run build
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
RUN npm install --omit=dev
COPY --from=builder /app/dist ./dist
RUN apk add --no-cache sqlite-libs
EXPOSE 80