diff --git a/Dockerfile b/Dockerfile
index ffce9c6957482ac7998b6b60541bb8ba4ef12fa5..a520235fa9a5f74c3584d158d1c68fdf2b653092 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,6 +7,8 @@ RUN apt-get update && apt-get install -y \
         git \
         curl \
         unzip \
+        nodejs \
+        npm \
     && docker-php-ext-configure gd --with-freetype --with-jpeg \
     && docker-php-ext-install -j$(nproc) gd
 
@@ -32,7 +34,6 @@ RUN ls -ahl
 RUN curl -sS https://getcomposer.org/installer | php
 RUN php composer.phar install
 
-RUN curl -L https://npmjs.org/install.sh | bash
 RUN npm cache clean -f
 RUN npm install -g n
 RUN n stable