chore: add native build dependencies (python3, make, g++) to Docker image
This commit is contained in:
@@ -7,6 +7,9 @@ WORKDIR /usr/src/app
|
|||||||
# Copy package.json and package-lock.json to the working directory
|
# Copy package.json and package-lock.json to the working directory
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install build dependencies for native modules
|
||||||
|
RUN apk add --no-cache python3 make g++
|
||||||
|
|
||||||
# Install any needed packages specified in package.json
|
# Install any needed packages specified in package.json
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user