chore: add native build dependencies (python3, make, g++) to Docker image
This commit is contained in:
parent
f380a2cc41
commit
f14e6f5e27
@ -7,6 +7,9 @@ WORKDIR /usr/src/app
|
||||
# Copy package.json and package-lock.json to the working directory
|
||||
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
|
||||
RUN npm install
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user