Skip to content

Commit fe76bbf

Browse files
committed
Updated npm to the latest version to fix npm CVEs.
1 parent 4876082 commit fe76bbf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
# Want to help us make this template better? Share your feedback here: https://forms.gle/ybq9Krt8jtBL3iCk7
88

9-
ARG NODE_VERSION=24.11.1
9+
ARG NODE_VERSION=24.12
1010

1111
################################################################################
1212
# Use node image for base image for all stages.
@@ -15,6 +15,9 @@ FROM node:${NODE_VERSION}-alpine AS base
1515
# Set working directory for all build stages.
1616
WORKDIR /usr/src/app
1717

18+
# Update npm to the latest version to fix npm CVEs.
19+
RUN npm install -g npm@latest
20+
1821

1922
################################################################################
2023
# Create a stage for installing production dependecies.

0 commit comments

Comments
 (0)