@@ -77,7 +77,7 @@ For consistency, please use the same responses shown in the example below when p
7777| Question | Answer |
7878| ------------------------------------------------------------| -----------------|
7979| What application platform does your project use? | Node |
80- | What version of Node do you want to use? | 24.11.1 -alpine |
80+ | What version of Node do you want to use? | 24.12.0 -alpine |
8181| Which package manager do you want to use? | npm |
8282| Do you want to run "npm run build" before starting server? | yes |
8383| What directory is your build output to? | dist |
@@ -153,7 +153,7 @@ FROM dhi.io/node:24-alpine3.22-dev AS builder
153153WORKDIR /app
154154
155155# Copy package-related files first to leverage Docker's caching mechanism
156- COPY package.json package-lock.json ./
156+ COPY package.json package-lock.json* ./
157157
158158# Install project dependencies using npm ci (ensures a clean, reproducible install)
159159RUN --mount=type=cache,target=/root/.npm npm ci
@@ -197,7 +197,7 @@ Now you need to create a production-ready multi-stage Dockerfile. Replace the ge
197197# =========================================
198198# Stage 1: Build the Angular Application
199199# =========================================
200- ARG NODE_VERSION=24.11.1 -alpine
200+ ARG NODE_VERSION=24.12.0 -alpine
201201ARG NGINX_VERSION=alpine3.22
202202
203203# Use a lightweight Node.js image for building (customizable via ARG)
@@ -207,7 +207,7 @@ FROM node:${NODE_VERSION} AS builder
207207WORKDIR /app
208208
209209# Copy package-related files first to leverage Docker's caching mechanism
210- COPY package.json package-lock.json ./
210+ COPY package.json * package-lock.json* ./
211211
212212# Install project dependencies using npm ci (ensures a clean, reproducible install)
213213RUN --mount=type=cache,target=/root/.npm npm ci
0 commit comments