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

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Lokesh Sanapalli
2021-12-03 13:14:34 +05:30
committed by GitHub
parent d24d07e420
commit 2884854aab

View File

@@ -3,8 +3,10 @@ FROM node:lts-alpine
LABEL maintainer="Hoppscotch (support@hoppscotch.io)" LABEL maintainer="Hoppscotch (support@hoppscotch.io)"
# Add git as the prebuild target requires it to parse version information # Add git as the prebuild target requires it to parse version information
RUN apk add --update --no-cache \ RUN apk add --no-cache --virtual .gyp \
git python3 \
make \
g++
# Create app directory # Create app directory
WORKDIR /app WORKDIR /app