Skip to content

Running electron-pdf in a docker container #285

Description

@mpizosdim

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions