These are notes from the GCP DevOps Course hosted on KodeKloud.
Step 1: Run
flask run
* Running on http://127.0.0.1:5000
Step 2: Observe
- Access application at http://127.0.0.1:5000/
Container mode (required Docker) Step 1: Build
$ docker build -t hello-py .
Step 2: Run
$ docker run -dt --name hello-python -p 5000:5000 hello-py
Step 3: Observe
Access application at http://localhost:5000