From 820b3a2d96632ec747c651b4049ca6ccab5f89f6 Mon Sep 17 00:00:00 2001 From: choijaewook Date: Thu, 19 Mar 2026 19:46:04 +0900 Subject: [PATCH] Fix: npm ci to npm install --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2e8ab9f..6ae3c81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ FROM node:20-alpine WORKDIR /app COPY package*.json ./ -RUN npm ci --only=production +RUN npm install --omit=dev COPY . . EXPOSE 3000 -HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ - CMD wget -qO- http://localhost:3000/health || exit 1 +HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 CMD wget -qO- http://localhost:3000/health || exit 1 CMD ["node", "server.js"]