fix: remove use of virtual in node-gyp multistage
This commit is contained in:
parent
e8c9f49af6
commit
52f1580722
|
@ -173,7 +173,7 @@ And Here's a multistage build example
|
||||||
FROM node:alpine as builder
|
FROM node:alpine as builder
|
||||||
|
|
||||||
## Install build toolchain, install node deps and compile native add-ons
|
## 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 ]
|
RUN npm install [ your npm dependencies here ]
|
||||||
|
|
||||||
FROM node:alpine as app
|
FROM node:alpine as app
|
||||||
|
|
Loading…
Reference in New Issue