We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fc91b3 commit 8a750d6Copy full SHA for 8a750d6
docs/BestPractices.md
@@ -185,7 +185,7 @@ Here is an example of how you would install dependencies for packages that requi
185
```Dockerfile
186
FROM node:alpine
187
188
-RUN apk add --no-cache --virtual .gyp python make g++ \
+RUN apk add --no-cache --virtual .gyp python3 make g++ \
189
&& npm install [ your npm dependencies here ] \
190
&& apk del .gyp
191
```
@@ -196,7 +196,7 @@ And Here's a multistage build example
196
FROM node:alpine as builder
197
198
## Install build toolchain, install node deps and compile native add-ons
199
-RUN apk add --no-cache python make g++
+RUN apk add --no-cache python3 make g++
200
RUN npm install [ your npm dependencies here ]
201
202
FROM node:alpine as app
0 commit comments