Note that the upstream node-opencv is not officially compatible with OpenCV 3+.
Docker Automated Build Repository/Image for node:latest + opencv 3.4.0
Official Node.js "latest" image + OpenCV 3.4.0 (built from source, not a full stack) for
npm install opencv to work.
onbuild tag is available.
(simpler way is to
apt-get install libopencv-dev inside a