# Pluto / PlutoSliderServer on Google Cloud Run

**URL:** <https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731>\
**Category:** General Usage\
**Tags:** cloud-computing, pluto\
**Created:** [September 30, 2024, 5:11pm UTC](https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731 "2024-09-30T17:11:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseKling](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JoseKling](https://discourse.julialang.org/u/JoseKling)\
**Post date:** [September 30, 2024, 5:11pm UTC](https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731/1 "2024-09-30T17:11:07Z")

</div>

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](https://github.com/JoseKling/eruption-rate-analysis.git).

Thanks in advance  
Cheers

---

<div class="post-metadata">

**Author:** ![terasakisatoshi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/terasakisatoshi/32/9187_2.png) [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Post date:** [October 1, 2024, 7:32am UTC](https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731/2 "2024-10-01T07:32:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JoseKling](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JoseKling](https://discourse.julialang.org/u/JoseKling)\
**Post date:** [October 10, 2024, 10:35am UTC](https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731/3 "2024-10-10T10:35:54Z")

</div>

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](https://github.com/AtelierArith/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.

---

<div class="post-metadata">

**Author:** ![terasakisatoshi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/terasakisatoshi/32/9187_2.png) [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Post date:** [October 11, 2024, 2:58am UTC](https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731/4 "2024-10-11T02:58:53Z")

</div>

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

> <https://github.com/AtelierArith/Lamp.jl/blob/33bb84043af04737a37ac40dc8504a1d67558d76/Dockerfile#L4>

But, you did not set. [eruption-rate-analysis/Dockerfile at main · JoseKling/eruption-rate-analysis · GitHub](https://github.com/JoseKling/eruption-rate-analysis/blob/main/Dockerfile)  
[cloud-run-hello/Dockerfile at 05ccc51aab75f92f286c2177bec821b426967e0b · GoogleCloudPlatform/cloud-run-hello · GitHub](https://github.com/GoogleCloudPlatform/cloud-run-hello/blob/05ccc51aab75f92f286c2177bec821b426967e0b/Dockerfile#L6)

---

<div class="post-metadata">

**Author:** ![JoseKling](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JoseKling](https://discourse.julialang.org/u/JoseKling)\
**Post date:** [October 11, 2024, 10:23am UTC](https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731/5 "2024-10-11T10:23:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![JoseKling](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@JoseKling](https://discourse.julialang.org/u/JoseKling)\
**Post date:** [December 3, 2024, 8:57am UTC](https://discourse.julialang.org/t/pluto-plutosliderserver-on-google-cloud-run/120731/6 "2024-12-03T08:57:23Z")

</div>

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…
