-
create a api key with openweathermap api
-
create a python app to fetch weather data
-
test app locally
-
create a dockerfile
-
test container image
-
push container image to artifacts registry
- after testing locally our application, I push the codes to github and I cloned it to Cloud shell in GCP and push it to container registery
docker build -t gcr.io/terraform-422613/weather-app:v01 .
docker image ls
dokcer run -p 8080:8080 image docker push gcr.io/terraform-422613/weather-app:v01 gcloud auth configure-docker
-
deploy container to cloud run
-
Automate CI/CD process using build trigger
-
Notifications
You must be signed in to change notification settings - Fork 0
xhosro/python-cloudrun-gcp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published