FROM node:20.0.0

WORKDIR /app
COPY . /app

RUN npm ci
RUN JOBS=max npx --no-install node-pre-gyp rebuild
CMD npm run test
