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/*