Browse Source

Fixed NPM executable file not found in $PATH #210

Mark Shust 5 years ago
parent
commit
458619def8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      images/php/7.2/Dockerfile
  2. 1 1
      images/php/7.3/Dockerfile

+ 1 - 1
images/php/7.2/Dockerfile

@@ -63,7 +63,7 @@ RUN groupadd -g 1000 app \
   && useradd -g 1000 -u 1000 -d /var/www -s /bin/bash app
 
 RUN apt-get install -y gnupg \
-  && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
+  && curl -sL https://deb.nodesource.com/setup_10.x | bash - \
   && apt-get install -y nodejs \
   && mkdir /var/www/.config /var/www/.npm \
   && chown app:app /var/www/.config /var/www/.npm \

+ 1 - 1
images/php/7.3/Dockerfile

@@ -65,7 +65,7 @@ RUN groupadd -g 1000 app \
  && useradd -g 1000 -u 1000 -d /var/www -s /bin/bash app
 
 RUN apt-get install -y gnupg \
-  && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
+  && curl -sL https://deb.nodesource.com/setup_10.x | bash - \
   && apt-get install -y nodejs \
   && mkdir /var/www/.config /var/www/.npm \
   && chown app:app /var/www/.config /var/www/.npm \