Merge pull request #864 from Fdawgs/patch-1

docs(install-for-production): fix npm cache cli example
This commit is contained in:
Kevyn Bruyere
2021-02-04 18:06:21 +01:00
committed by GitHub

View File

@ -18,7 +18,7 @@ Dev dependencies greatly increase the container attack surface (i.e. potential s
FROM node:12-slim AS build
WORKDIR /usr/src/app
COPY package.json package-lock.json ./
RUN npm ci --production && npm clean cache --force
RUN npm ci --production && npm cache clean --force
# The rest comes here
```