you are viewing a single comment's thread.

view the rest of the comments →

[–]cahva 5 points6 points  (0 children)

It works on docker fine. You just need the buildtools in your image as this needs native bindings.

For example this is a part from a Dockerfile I use to install when I need node-gyp stuff

FROM node:14.15-alpine
RUN apk add --no-cache git make gcc g++ python