Open janvda opened 1 year ago
maybe the problem is not with this repository but with the dependent module :
The problem is indeed with the dependent module
I couldn't get it working on alpine based docker images.
It seems to work when using a debian based docker image (e.g. node:16-buster-slim
)
FYI I have created myself a number of node-red docker images based on debian which you can find at following location:
I am using the following base image in my docker container
janvda/node-red:3.0.2-19.1.0-bullseye-slim
I also had to add the following lines to my dockerfile to get it working:
# fix missing libxml2 and libc.musl-x86_64.so.1 (see https://github.com/alexander-akhmetov/python-telegram/issues/3) and
USER root
RUN apt-get update && apt-get install -y musl-dev libxml2
RUN ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
USER node-red
# end of fix
I have just created a simple flow
and node-red crashes when I deploy that flow with following in the log file: