FROM node:20.0.0

WORKDIR /app
COPY . /app

RUN npm install
RUN JOBS=max PATH=$(npm bin):$PATH node-pre-gyp rebuild
CMD npm run test
