Hi, I created a python script using plotly dash to draw graphs, then using plotly-orca to export a static image of the created graph. I want to dockerise this script but my problem is I build and run the image i get a “The orca executable is required in order to export figures as static images” error. My question now is how do I include the executable as part of my docker image?
You will need to install orca alongside python in the docker image by editing the Dockerfile. Exactly how you so this will depend on what base image you are using. You could follow the install on linux instructions here https://github.com/plotly/orca and see how that goes. You will probably find a bunch of missing libraries and need to do some apt-get installs!