Add npmrc so Docker doesnt fail on new npm version

This commit is contained in:
Krishan 2022-09-03 11:34:37 +05:30
parent 8a1946d558
commit 31462a1481

View file

@ -3,7 +3,7 @@ FROM node:17.9.0-alpine3.15 as builder
WORKDIR /src WORKDIR /src
COPY package.json package-lock.json /src/ COPY .npmrc package.json package-lock.json /src/
RUN npm ci RUN npm ci
COPY . /src/ COPY . /src/
RUN npm run build RUN npm run build