From 070b4be29331605ec83eb72dbc727276a7f93a36 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 7 May 2022 13:24:50 +0200 Subject: [PATCH] [mirotalksfu] - add npm@latest --- Dockerfile | 3 ++- README.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9f5a1fc2..415e1f19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,8 @@ RUN \ RUN \ apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates && \ curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ - apt-get install -y nodejs + apt-get install -y nodejs && \ + npm install -g npm@latest # Vim editor RUN apt-get install -y vim diff --git a/README.md b/README.md index 42ae7718..d449d434 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ $ apt install -y python3.8 python3-pip $ apt install -y curl dirmngr apt-transport-https lsb-release ca-certificates $ curl -sL https://deb.nodesource.com/setup_16.x | bash - $ apt-get install -y nodejs +$ npm install -g npm@latest ``` - Start the server