From 65faca46be263858fecb550c7391b7ea44d75114 Mon Sep 17 00:00:00 2001
From: "Guillaume \"B.B.\" Van Hemmen"
 <GuillaumeHemmen@noreply.git.van-hemmen.com>
Date: Mon, 14 Jul 2025 20:22:10 +0200
Subject: [PATCH] #2 - Refine Dockerfile: replace NODE_MAJOR with
 ARG_NODE_MAJOR and remove npm from installation

---
 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 0819b4f..977fa18 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,8 +35,8 @@ RUN apt-get update && \
 # -------------------------------------------------------------------
 # Install Node.js from the official NodeSource repository (no NVM)
 # -------------------------------------------------------------------
-RUN curl -fsSL "https://deb.nodesource.com/setup_${NODE_MAJOR}.x" | bash - && \
-    apt-get update && apt-get install -y nodejs npm && \
+RUN curl -fsSL "https://deb.nodesource.com/setup_${ARG_NODE_MAJOR}.x" | bash - && \
+    apt-get update && apt-get install -y nodejs && \
     # Clean up apt cache to reduce image size
     rm -rf /var/lib/apt/lists/*