From 9ce9bd76f78ca78b9deeccd53943bdac21a55c77 Mon Sep 17 00:00:00 2001 From: alexkar598 <25136265+alexkar598@users.noreply.github.com> Date: Tue, 26 Oct 2021 22:20:34 -0400 Subject: [PATCH] Update Dockerfile --- build/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 507d8339c6..5d89187790 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -4,7 +4,7 @@ FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build # replace shell with bash so we can source files RUN curl --silent -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | sh -ENV NODE_VERSION 10.13.0 +ENV NODE_VERSION 14.18.1 ENV NVM_DIR /root/.nvm RUN . $NVM_DIR/nvm.sh \ @@ -14,6 +14,7 @@ RUN . $NVM_DIR/nvm.sh \ && apt-get install -y \ dos2unix \ && rm -rf /var/lib/apt/lists/* +RUN npm install -g npm ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH