Install npm@7 in the builder image; alpine comes with npm@6
This commit is contained in:
parent
8477feab77
commit
772904c527
|
@ -1,4 +1,5 @@
|
||||||
FROM node:12.22.3-alpine AS builder
|
FROM node:12.22.3-alpine AS builder
|
||||||
|
RUN npm i -g npm@7.19.1
|
||||||
WORKDIR /otterscan-build
|
WORKDIR /otterscan-build
|
||||||
COPY ["package.json", "package-lock.json", "/otterscan-build/"]
|
COPY ["package.json", "package-lock.json", "/otterscan-build/"]
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
Loading…
Reference in New Issue