node-red-contrib-tf-model
node-red-contrib-tf-model copied to clipboard
Can't install on Docker Node-RED container.
If I run:
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red
And install node with pallete manager or container terminal (following this step-by-step https://flows.nodered.org/node/node-red-contrib-tf-model), I got this error:
Error: Error loading shared library ld-linux-x86-64.so.2
So, I manually install APK package:
apk update && apk upgrade && apk add gcompat
And after restart container, I'll got this error:
[warn] [node-red-contrib-tf-model/tf-model] Error: Error relocating /data/node_modules/@tensorflow/tfjs-node/lib/napi-v8/../../deps/lib/libtensorflow.so.2: __memcpy_chk: symbol not found
I'm using WSL2 Ubuntu 22.
It's related to docker alpine image and tensorflow.js node.
I can't manage how to make alpine image work with this node, installing on debian works.