This video provides an overview of various general approaches to deploying a Flask app to the web. Four different approaches specific to the Heroku backend as a service (BaaS, http://heroku.com/) are described:
1. Deploy the app directly on an ubuntu "stack" (e.g. Procfile and requirements.txt)
2. Deploy the app as a Docker container on a container "stack" (e.g. Dockerfile)
2.A. Build a Docker image locally and push the image to Heroku's container registry
2.B. Define a heroku.yml and push your source code to Heroku's git and Heroku is going to build the Docker image (and register it)
2.C. Define main.yml and push your source code to Github and a Github Action builds the image and pushes the image to Heroku's registry
Of the four approaches above, approach #2A is demoed in detail in this video. Heroku documentation for this approach: https://devcenter.heroku.com/articles...
This video is part 6 of an 8 part series on APIs and machine learning model deployment with Python. The next video in this series is: TBA
The previous video in this series is: • How to Deploy a Flask App to the Web ...
Watch video How to Deploy a Flask App to the Web using Heroku, Pre-built Docker Images, and Git online without registration, duration hours minute second in high quality. This video was added by user Gina Sprint 03 May 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,972 once and liked it 49 people.