From 73bbbf4b302517c708e192ae6d16cd57bf901643 Mon Sep 17 00:00:00 2001 From: Frazer Smith <43814140+Fdawgs@users.noreply.github.com> Date: Mon, 1 Feb 2021 10:49:20 +0000 Subject: [PATCH] docs(install-for-production): fix npm cache cli example See https://docs.npmjs.com/cli/v6/commands/npm-cache, there is no command called `npm clean` --- sections/docker/install-for-production.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/docker/install-for-production.md b/sections/docker/install-for-production.md index 51ec0e7b..88b01c92 100644 --- a/sections/docker/install-for-production.md +++ b/sections/docker/install-for-production.md @@ -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 ```