This video explain how to:
- Test your Python API application to make predictions with ML model endpoint with Postman.
- Create and set-up Dockerfile (with clear explanation).
- Prepare Docker compose (docker-compose.yml) file to orchestrate services need to run your Flask application (for example, a database).
- Build and run a Docker image from Docker compose file.
You will also learn what are the differences between docker compose build and docker compose up commands. With that you will get a clear explanation how Dockerfile works, and what is the logic behind. So, you will quickly dive into Dockerhub - the big library of Docker images which can be used for your unique Docker containers. This is what exactly we are doing in this tutorial.
By using this approach you will be able to Dockerize any Flask based API app, whether it is ML classifier/model or a simple API. In this example I used a predefined model.joblib ML classifier previously.
The content of the video:
0:00 - Test Flask API application locally with Postman
2:57 - Explain Dockerizing and setup Dockerfile
9:57 - Setup Docker Compose file
13:54 - How to setup Docker Compose for multiple Services
15:25 - Build and Run a Docker Image
If you wish to get more videos about MLOps, Docker for Machine learning, or something for related fields, subscribe and let me know in the comment section below!
#docker #flask #dockerfile
Watch video Dockerize Flask API application with Dockerfile and Docker Compose online without registration, duration hours minute second in high quality. This video was added by user Data Science Garage 20 December 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,86 once and liked it 6 people.