Open yashm123 opened 5 years ago
I am currently experiencing the same issue. Is there any solution out there. I would appreciate a clue on how to fix this.
Some workarounds may be found here: https://github.com/mohuk/html-pdf-docker-alpine/blob/master/Dockerfile
The main reason of falling on alpine-linux is a correct installation of phantomjs-prebuilt
.
You may install phantomjs from link above, and then npm install html-pdf phantomjs-prebuilt
But then I fall into #8
Pdf is getting generated when i run the node code locally. But when deploy my application to docker containing node-alpine image, It gives me child process error.
Has anyone solved it