Skip to content

Commit

Permalink
npm ci is better than npm install when lock file is static
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhfrankelcodes committed Oct 20, 2024
1 parent ae801d8 commit 24493c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app
COPY package*.json ./

# Install the app dependencies
RUN npm install
RUN npm ci

# Copy the rest of the application code
COPY . .
Expand Down

0 comments on commit 24493c1

Please sign in to comment.