Skip to content

Cannot use PlotlyEx.plot in containerised environment #1

@alanvardy

Description

@alanvardy

Hello!

Thank you for the library! When I deploy to Digital Ocean with Dokku (very similar to Heroku), PlotlyEx fails because it cannot find the template file inside the container.

I made a change so that instead of using the file for the template, the template is pulled from a function instead and it now works great for my use case.

Would you like me to open a PR for this use case?

You can see what I did here:
https://github.com/alanvardy/health/blob/develop/lib/health/stats/graph.ex

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