<filename>Dockerfile
FROM node:14-stretch

WORKDIR /opt/pool

COPY ./ /opt/pool/

RUN apt-get update \
  && apt-get install -y build-essential libusb-1.0-0-dev libudev-dev python-dev libssl-dev \
  && yarn install \
  && yarn build

CMD ["node", "/opt/pool/dist/index.js"]
