We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4876082 commit fe76bbfCopy full SHA for fe76bbf
Dockerfile
@@ -6,7 +6,7 @@
6
7
# Want to help us make this template better? Share your feedback here: https://forms.gle/ybq9Krt8jtBL3iCk7
8
9
-ARG NODE_VERSION=24.11.1
+ARG NODE_VERSION=24.12
10
11
################################################################################
12
# Use node image for base image for all stages.
@@ -15,6 +15,9 @@ FROM node:${NODE_VERSION}-alpine AS base
15
# Set working directory for all build stages.
16
WORKDIR /usr/src/app
17
18
+# Update npm to the latest version to fix npm CVEs.
19
+RUN npm install -g npm@latest
20
+
21
22
23
# Create a stage for installing production dependecies.
0 commit comments