From 942730e2af7488132b52de706beaca43eb38e63c Mon Sep 17 00:00:00 2001 From: Yoni Date: Sun, 26 Jul 2020 16:02:20 +0300 Subject: [PATCH] Fixes per PR comments --- sections/docker/install-for-production.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sections/docker/install-for-production.md b/sections/docker/install-for-production.md index 6e33a4d4..a597e5e4 100644 --- a/sections/docker/install-for-production.md +++ b/sections/docker/install-for-production.md @@ -38,6 +38,7 @@ RUN npm ci --production && npm clean cache --force FROM node:12-slim AS build WORKDIR /usr/src/app COPY package.json package-lock.json ./ +# Two mistakes below: Installing dev dependencies, not deleting the cache after npm install RUN npm install # The rest comes here