Open mjmaurya opened 1 year ago
hi, I have the same issue. Did you find a solution ? thanks.
You could add apt install fonts-freefont-ttf
in your Dockerfile, although it will choose random font to display onto unless you specify it explicitly.
https://github.com/SeanSobey/ChartjsNodeCanvas/issues/105#issuecomment-1137985266
Describe the bug I am using the npm module
chartjs-node-canvas
to create the chart and add it to my email. I am getting the wanted result without running the javascript script as a docker container. Here is the result got after running my javascript script with docker :Versions
Additional context
Dockerfile