Fix npm cache clean command

This commit is contained in:
Jimmy Callin
2020-08-22 10:55:23 +02:00
committed by GitHub
parent 129dc803f1
commit a2d89778ff

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