google cloud run - deploy from code repository

 We can also deploy from our code repository using cloud run. Let's configure the followings. First we create a service. Then choose "Continously deploy from a repository(source or function)". 



After you selected that, click on the blue button - "Setup cloud build". Next,  we choose the repository that we would like to deploy.

Repository provider - github

As for the repository, you can close from here:- https://github.com/kepungnzai/gcp-cloud-run-python-fastapi. It is just a really simple python app. 



Click on "next". 

Then you should select /Dockerfile


And click "Save". 

Next we will configure cloud run service to enable "Allow public access".  Let's create our service. 

Wait for a few minutes then you should have your service deployed.





Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type