Deploy reflex app to Google cloud run #5055
Replies: 3 comments 3 replies
-
|
Have anyone done it before ? |
Beta Was this translation helpful? Give feedback.
-
|
I have set it up as a single container on cloud build and cloud run. Let me know if that's what you would like. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @davidmuraya, Thanks for giving me the right direction. After some experimenting, I have below the best that have worked for me. Dockerfile (for build speed and size): deploy.sh This setup have worked best for me. In Cloud run, the start up time is around 15s. I am waiting for the backend to start responding to ping then starting the caddy service. I also have a gunicorn.conf.py file that sets some guicorn settings like threads, Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How to deploy a reflex app to google cloud build, how to set up both frontend and backend as separate containers and deploy ?
Beta Was this translation helpful? Give feedback.
All reactions