Dockerfile
1 FROM node:16-alpine
2 RUN apk update && apk add --no-cache g++ make python3
3
4 WORKDIR /app/bindings/node.js
5
6 COPY dist .
7 RUN yarn install
8
9 COPY test ./test
10 COPY jest.config.js .
11 COPY ref-tests ../../tests
12 CMD ["yarn", "jest"]