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 ...
Смотрите видео How to Deploy a Flask App to the Web using Heroku, Pre-built Docker Images, and Git онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Gina Sprint 03 Май 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,972 раз и оно понравилось 49 людям.