Pluto / PlutoSliderServer on Google Cloud Run

Hello all,

I am trying to deploy some notebooks to Google Cloud Run. I set up PlutoSliderServer on a Docker container and locally everything works, but I can’t get it to work on Cloud Run. I got the server to start and begin loading the first notebook, but the initial page just gets stuck with the list of notebooks and the ‘(Loading…)’ beside them.
If someone has experience with this and have an idea what is going on, I appreciate.
I set up the deployment on GitHub with a Dockerfile and cloudbuild.yaml file. The files are all in this repository.

Thanks in advance
Cheers

You may want to try: GitHub - AtelierArith/Lamp.jl: How to summon a Genie(.jl)/GenieFramework(.jl)? Here is an example.

Really sorry for the late reply.
I don’t really understand what would be the use for this package. From github, ’ * This package provides a web application that generates a random logo powered by RandomLogos.jl.’ which is not anything I need.
Maybe this is just an example on how to use it? But then it seems to use Genie.jl, so are you suggesting I should abandon the implementation with PlutoSliderServer.jl and rewrite the notebooks as Genie.jl apps?
Sorry, but it is really not clear to me what you mean.

To work with cloud run, we should set WORKDIR /app in Dockerfile.

But, you did not set. eruption-rate-analysis/Dockerfile at main · JoseKling/eruption-rate-analysis · GitHub
cloud-run-hello/Dockerfile at 05ccc51aab75f92f286c2177bec821b426967e0b · GoogleCloudPlatform/cloud-run-hello · GitHub

Thanks for having a look into it.
However, this is not it. Setting ‘WORKDIR’ to ‘/app’ is not a requirement. In fact, I have a container running without problems with no ‘WORKDIR’ setting at all, but using Marimo notebooks instead of Pluto.
I still tried your suggestion and had a look at the link you sent to see if there was anything too different from what I was doing, but could not find any solution.

1 Like

Just for future reference. I eventually gave up and switched the Pluto notebook for a Dash.jl app. I guess a Genie.jl app would also be fine, but I did not try it yet.
No idea what the problem is though…