Cloud Code: New Application
: New Cloud Run Python Flask application- Converge file systems
- Define
.dockerignore
,.gitignore
, and.gcloudignore
files. - Remove setting
PORT
environment variables. Update ports to 8080. - Update Flask app invocation to remove
debug=true
. - Add launch config to run python file locally, add environment variables, test.
- Update scripts to build image and run locally and set environment variables in
run-image-locally.sh
. - Move
run-image-locally.sh
to.vscode
to it doesn't get committed. - Rename scripts to be consistent.
- Do not create a
Zsh
launch config to start the script to build and run locally. Extension does not permitCtrl-C
to terminate the app. Instead, run from a terminal. - Create
Clode Code: Debug on Cloud Run Emulator
: Debug (or Run) image locally. Add environment variables in advanced setting or inlaunch.json
. Cloud Code: Deploy to Cloud Run
: Depoy changes