From ea7063ed81144edc3a0f0980e4fd8a69abcf2ffe Mon Sep 17 00:00:00 2001 From: "kristiyan.velkov" Date: Wed, 10 Sep 2025 13:11:11 +0300 Subject: [PATCH] [feat] increare the docker base images for node.js, nginx for sample guides react.js, angular, vue.js --- content/guides/angular/containerize.md | 4 ++-- content/guides/angular/develop.md | 2 +- content/guides/reactjs/containerize.md | 6 +++--- content/guides/reactjs/develop.md | 2 +- content/guides/vuejs/containerize.md | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/guides/angular/containerize.md b/content/guides/angular/containerize.md index 18603ecbaa5a..5068a5ea8eb2 100644 --- a/content/guides/angular/containerize.md +++ b/content/guides/angular/containerize.md @@ -126,8 +126,8 @@ Copy and replace the contents of your existing `Dockerfile` with the configurati # ========================================= # Stage 1: Build the Angular Application # ========================================= -ARG NODE_VERSION=22.14.0-alpine -ARG NGINX_VERSION=alpine3.21 +ARG NODE_VERSION=24.7.0-alpine +ARG NGINX_VERSION=alpine3.22 # Use a lightweight Node.js image for building (customizable via ARG) FROM node:${NODE_VERSION} AS builder diff --git a/content/guides/angular/develop.md b/content/guides/angular/develop.md index 86ccadb859ef..a89ded4ba469 100644 --- a/content/guides/angular/develop.md +++ b/content/guides/angular/develop.md @@ -38,7 +38,7 @@ Create a file named `Dockerfile.dev` in your project root with the following con # ========================================= # Define the Node.js version to use (Alpine for a small footprint) -ARG NODE_VERSION=22.14.0-alpine +ARG NODE_VERSION=24.7.0-alpine # Set the base image for development FROM node:${NODE_VERSION} AS dev diff --git a/content/guides/reactjs/containerize.md b/content/guides/reactjs/containerize.md index 35330dcad9b8..4e1e787665aa 100644 --- a/content/guides/reactjs/containerize.md +++ b/content/guides/reactjs/containerize.md @@ -78,7 +78,7 @@ For consistency, please use the same responses shown in the example below when p | Question | Answer | |------------------------------------------------------------|-----------------| | What application platform does your project use? | Node | -| What version of Node do you want to use? | 22.14.0-alpine | +| What version of Node do you want to use? | 24.7.0-alpine | | Which package manager do you want to use? | npm | | Do you want to run "npm run build" before starting server? | yes | | What directory is your build output to? | dist | @@ -124,8 +124,8 @@ Copy and replace the contents of your existing `Dockerfile` with the configurati # ========================================= # Stage 1: Build the React.js Application # ========================================= -ARG NODE_VERSION=22.14.0-alpine -ARG NGINX_VERSION=alpine3.21 +ARG NODE_VERSION=24.7.0-alpine +ARG NGINX_VERSION=alpine3.22 # Use a lightweight Node.js image for building (customizable via ARG) FROM node:${NODE_VERSION} AS builder diff --git a/content/guides/reactjs/develop.md b/content/guides/reactjs/develop.md index ea326cec1b7b..3811d9cf79ca 100644 --- a/content/guides/reactjs/develop.md +++ b/content/guides/reactjs/develop.md @@ -36,7 +36,7 @@ Create a file named `Dockerfile.dev` in your project root with the following con # ========================================= # Stage 1: Develop the React.js Application # ========================================= -ARG NODE_VERSION=22.14.0-alpine +ARG NODE_VERSION=24.7.0-alpine # Use a lightweight Node.js image for development FROM node:${NODE_VERSION} AS dev diff --git a/content/guides/vuejs/containerize.md b/content/guides/vuejs/containerize.md index ddcfcfedd75c..cc60262495c7 100644 --- a/content/guides/vuejs/containerize.md +++ b/content/guides/vuejs/containerize.md @@ -125,7 +125,7 @@ Replace the contents of your current `Dockerfile` with the optimized configurati # Stage 1: Build the Vue.js Application # ========================================= ARG NODE_VERSION=23.11.0-alpine -ARG NGINX_VERSION=alpine3.21 +ARG NGINX_VERSION=alpine3.22 # Use a lightweight Node.js image for building (customizable via ARG) FROM node:${NODE_VERSION} AS builder