Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: docker node-gyp python not found (#1987)

Lokesh Sanapalli2884854aaba8
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 ([email protected])"
# 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