Install npm@7 in the builder image; alpine comes with npm@6

This commit is contained in:
Willian Mitsuda 2021-07-14 18:09:51 -03:00
parent 8477feab77
commit 772904c527
1 changed files with 1 additions and 0 deletions

View File

@ -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