From 7156b2f3fca21d86e1055d06d5a293d48cf9ac8f Mon Sep 17 00:00:00 2001 From: Dustin Tauer Date: Mon, 15 Jul 2024 14:29:08 -0500 Subject: [PATCH] added mkdir to build stage --- lessons/05-making-tiny-containers/C-multi-stage-builds.md | 1 + 1 file changed, 1 insertion(+) diff --git a/lessons/05-making-tiny-containers/C-multi-stage-builds.md b/lessons/05-making-tiny-containers/C-multi-stage-builds.md index 7f3fd5c..e74928f 100644 --- a/lessons/05-making-tiny-containers/C-multi-stage-builds.md +++ b/lessons/05-making-tiny-containers/C-multi-stage-builds.md @@ -17,6 +17,7 @@ Make a new Dockerfile, call it `Dockerfile`. ```dockerfile # build stage FROM node:20 AS node-builder +RUN mkdir /build WORKDIR /build COPY package-lock.json package.json ./ RUN npm ci