From 772904c527700db9460e39d66c0386889addb6e5 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Wed, 14 Jul 2021 18:09:51 -0300 Subject: [PATCH] Install npm@7 in the builder image; alpine comes with npm@6 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 526a90f..d4aa214 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM node:12.22.3-alpine AS builder +RUN npm i -g npm@7.19.1 WORKDIR /otterscan-build COPY ["package.json", "package-lock.json", "/otterscan-build/"] RUN npm install