Skip to content

Commit

Permalink
new relic added
Browse files Browse the repository at this point in the history
  • Loading branch information
Amits64 committed Sep 6, 2024
1 parent c1f1491 commit 790b458
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,15 @@ 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 . .

# 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

Expand Down

0 comments on commit 790b458

Please sign in to comment.