Update clean-cache.md

This commit is contained in:
Yoni Goldberg
2020-08-23 10:03:28 +03:00
committed by GitHub
parent 6dfcc8ba75
commit de5ad75fe5

View File

@ -19,7 +19,7 @@ Node package managers, npm & Yarn, cache the installed packages locally so that
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
```