I have seen some posts from examples of Dockefile to run electron-pdf but with none of them had any success to make electron-pdf run inside a container.
The library seems to be install normally but when I run:
electron-pdf --version : I get no version or anything (I dont get an error)
electrin-pdf example.html example.pdf: no output, no error.
Something to add which I am not sure if its related. If I run electron --version I get the following error:
[23:0407/164330.591827:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. /node_modules/electron/dist/electron exited with signal SIGTRAP
Can someone share a simple Dockerfile to test electron-pdf on a container?
I have seen some posts from examples of Dockefile to run electron-pdf but with none of them had any success to make electron-pdf run inside a container.
The library seems to be install normally but when I run:
electron-pdf --version: I get no version or anything (I dont get an error)electrin-pdf example.html example.pdf: no output, no error.Something to add which I am not sure if its related. If I run
electron --versionI get the following error:[23:0407/164330.591827:FATAL:electron_main_delegate.cc(254)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. /node_modules/electron/dist/electron exited with signal SIGTRAPCan someone share a simple Dockerfile to test electron-pdf on a container?