fix: add g++ dependency in dockerfile
This commit is contained in:
parent
e227e2fb2e
commit
09ebeb02bd
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ FROM node:18-alpine3.16 as app
|
|||
|
||||
WORKDIR /
|
||||
|
||||
RUN apk --no-cache add g++
|
||||
# Install dependencies
|
||||
RUN npm install node-gyp -g
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ FROM node:18-alpine3.16
|
|||
|
||||
WORKDIR /
|
||||
|
||||
RUN apk --no-cache add g++
|
||||
RUN npm install node-gyp -g
|
||||
|
||||
WORKDIR /api
|
||||
|
|
Loading…
Reference in a new issue