From 52f158072233eebce49847ac1db6961dcd2afa69 Mon Sep 17 00:00:00 2001 From: Zadkiel Date: Wed, 1 May 2019 20:22:02 +0200 Subject: [PATCH] fix: remove use of virtual in node-gyp multistage --- docs/BestPractices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/BestPractices.md b/docs/BestPractices.md index ac2141d9..a12a4b55 100644 --- a/docs/BestPractices.md +++ b/docs/BestPractices.md @@ -173,7 +173,7 @@ And Here's a multistage build example FROM node:alpine as builder ## Install build toolchain, install node deps and compile native add-ons -RUN apk add --no-cache --virtual .gyp python make g++ +RUN apk add --no-cache python make g++ RUN npm install [ your npm dependencies here ] FROM node:alpine as app