From 790b458a94d19b196ee0d6ad98c2af6c56748c8c Mon Sep 17 00:00:00 2001 From: Amits64 Date: Fri, 6 Sep 2024 22:07:48 +0000 Subject: [PATCH] new relic added --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d147e6e..e75eebb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ WORKDIR /usr/src/app # Copy package.json and package-lock.json for dependency installation COPY package*.json ./ -# Install app dependencies using npm ci for a clean, reproducible environment -RUN npm ci --only=production +# Install app dependencies using npm install +RUN npm install --only=production # Copy the rest of the application code COPY . . @@ -21,9 +21,6 @@ COPY . . # Run build script (if applicable) # RUN npm run build -# Remove any unnecessary files like development dependencies -# RUN npm prune --production - # Stage 2: Production Stage FROM node:18.19.1