From 2884854aaba81ae6522c446e6e6c9a0df91182c4 Mon Sep 17 00:00:00 2001 From: Lokesh Sanapalli Date: Fri, 3 Dec 2021 13:14:34 +0530 Subject: [PATCH] fix: docker node-gyp python not found (#1987) Co-authored-by: Liyas Thomas --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25826779a..1572b03f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,10 @@ FROM node:lts-alpine LABEL maintainer="Hoppscotch (support@hoppscotch.io)" # Add git as the prebuild target requires it to parse version information -RUN apk add --update --no-cache \ - git +RUN apk add --no-cache --virtual .gyp \ + python3 \ + make \ + g++ # Create app directory WORKDIR /app