From 81c7e00fb4a83b7f100da345e67e9169544cb26f Mon Sep 17 00:00:00 2001 From: Suchin Sapphasitthatha Date: Tue, 5 Aug 2025 06:15:52 +0000 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=80=E0=B8=9B?= =?UTF-8?q?=E0=B9=87=E0=B8=99=20npm=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 9a6d5c3f..1b119c40 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,7 +6,8 @@ WORKDIR /app # Install app dependencies COPY package*.json ./ -RUN npm ci +#RUN npm ci +RUN npm install # Copy source files and build the app COPY . . @@ -24,7 +25,8 @@ COPY --from=build-stage /app/dist ./dist # Install only production dependencies COPY package*.json ./ -RUN npm ci --production +#RUN npm ci --production +RUN npm install USER node # Define the entrypoint and default command