From f9ea6f2175eb7d693f2fbc8d32dcce4c82354958 Mon Sep 17 00:00:00 2001 From: Janik Dotzel Date: Tue, 16 Aug 2022 23:02:49 +0200 Subject: [PATCH] fix: add layer to Dockerfile to fix issue 15394 (#15395) --- get-started/09_image_best.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/get-started/09_image_best.md b/get-started/09_image_best.md index 5b8deae89b..eb11362a2e 100644 --- a/get-started/09_image_best.md +++ b/get-started/09_image_best.md @@ -107,6 +107,7 @@ Let's look at the Dockerfile we were using one more time... ```dockerfile # syntax=docker/dockerfile:1 FROM node:12-alpine +RUN apk add --no-cache python2 g++ make WORKDIR /app COPY . . RUN yarn install --production @@ -127,6 +128,7 @@ a change to the `package.json`. Make sense? ```dockerfile # syntax=docker/dockerfile:1 FROM node:12-alpine + RUN apk add --no-cache python2 g++ make WORKDIR /app COPY package.json yarn.lock ./ RUN yarn install --production