Deploy reflex app to Google cloud run #5055
Replies: 3 comments 3 replies
|
Have anyone done it before ? |
0 replies
|
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. |
3 replies
|
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ?
All reactions