fix: add g++ dependency in dockerfile

This commit is contained in:
Nicolas Meienberger 2022-10-05 23:21:11 +02:00
parent e227e2fb2e
commit 09ebeb02bd
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -2,6 +2,7 @@ FROM node:18-alpine3.16
WORKDIR /
RUN apk --no-cache add g++
RUN npm install node-gyp -g
WORKDIR /api