New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running electron-pdf in a docker container #285
Comments
Yep same issue here. |
Here is mine, YMMV. Dockerfile
docker-start.sh
|
Hello, Can you please share the solution? I am not familiar with node apps. I am trying to make a simple service that accepts a url and returns the file in a mounted volume. Many thanks |
Try to add:
in your |
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?
The text was updated successfully, but these errors were encountered: