From d5b2ad14c0e144b2febdd677973866b29e443a3f Mon Sep 17 00:00:00 2001 From: Abhishek Pandey Date: Sun, 19 Apr 2020 13:21:34 +0530 Subject: [PATCH] Use alpine with dependencies that rely on node-gyp Node-gyp throws an error for missing Python dependency Details as provided here - https://github.com/nodejs/docker-node/issues/282 --- docs/tutorial/our-application/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tutorial/our-application/index.md b/docs/tutorial/our-application/index.md index 4b39153af..2d52d4f55 100644 --- a/docs/tutorial/our-application/index.md +++ b/docs/tutorial/our-application/index.md @@ -39,6 +39,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them. ```dockerfile FROM node:12-alpine + RUN apk add --no-cache --virtual .gyp python make g++ WORKDIR /app COPY . . RUN yarn install --production