Skip to content

Commit 52f1580

Browse files
authored
fix: remove use of virtual in node-gyp multistage
1 parent e8c9f49 commit 52f1580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/BestPractices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ And Here's a multistage build example
173173
FROM node:alpine as builder
174174

175175
## Install build toolchain, install node deps and compile native add-ons
176-
RUN apk add --no-cache --virtual .gyp python make g++
176+
RUN apk add --no-cache python make g++
177177
RUN npm install [ your npm dependencies here ]
178178

179179
FROM node:alpine as app

0 commit comments

Comments
 (0)