Skip to content

Commit cf8c6bb

Browse files
authored
fix: remove use of virtual in node-gyp multistage (#1034)
fix: remove use of virtual in node-gyp multistage
2 parents b1be313 + 52f1580 commit cf8c6bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)