fix: remove use of virtual in node-gyp multistage

This commit is contained in:
Zadkiel 2019-05-01 20:22:02 +02:00 committed by GitHub
parent e8c9f49af6
commit 52f1580722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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