HomeVideoDocker Tutorial For Beginners - How To Containerize Python Applications

Docker Tutorial For Beginners – How To Containerize Python Applications


In this Docker Tutorial I show how to get started with Docker for your Python Scripts and Python Web Apps. We look at two different projects and build Docker Containers for a Python script and for a web application using FastAPI (works the same for Flask). This also demonstrates how to dockerize a virtual environment.

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
🪁 Code faster with Kite: https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=pythonengineer&utm_content=description-only *
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtube&utm_campaign=pythonengineer *

Get my Free NumPy Handbook:
https://www.python-engineer.com/numpybook

⭐ Join Our Discord : https://discord.gg/FHMg9tKFSN

📓 ML Notebooks available on Patreon:
https://www.patreon.com/patrickloeber

If you enjoyed this video, please subscribe to the channel:
▶️ : https://www.youtube.com/channel/UCbXgNpp0jedKWcQiULLbDTA?sub_confirmation=1

Timestamps:
00:00 – Introduction
02:42 – Example 1: Python Scripts
09:14 – Example 2: Web App

Resources:
https://www.docker.com/
https://fastapi.tiangolo.com/

Movies Web Scraping Tutorial:
https://youtu.be/FoPPgcpSmNs

FastAPI Tutorial:
https://youtu.be/0RS9W8MtZe4

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

🖥️ Website: https://www.python-engineer.com
🐦 Twitter – https://twitter.com/python_engineer
✉️ Newsletter – https://www.python-engineer.com/newsletter
📸 Instagram – https://www.instagram.com/patloeber
🦾 Discord: https://discord.gg/FHMg9tKFSN
▶️ Subscribe: https://www.youtube.com/channel/UCbXgNpp0jedKWcQiULLbDTA?sub_confirmation=1

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅿 Patreon – https://www.patreon.com/patrickloeber

Music: https://www.bensound.com/

#Python #docker

———————————————————————————————————-
* This is a sponsored or an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏

View it at Youtube

Most Popular