Containerizing a simple Python Flask app using Docker

preview_player
Показать описание
In today's video I'm - finally - creating a docker image for a Flask app.

You can find the source code of this project here:

Don't forget to 'checkout' my other projects:
Рекомендации по теме
Комментарии
Автор

Please continue making videos like this, they are so fun to watch and so educational at the same time. Hope you make more!

_minutes
Автор

Really enjoyed the way you speak, code. It was very entertaining watching someone who knows what they are doing and explaining what they are doing. Surprising to see such quality content for someone with less than a 1000 subs. Great job!

terabhaininja
Автор

Hey man, thank you so much! You really helped me figure out how to configure ports!!! Keep it up!

devlog_channel
Автор

Whale hello there!

I didn't understand what you explained at 10:43

If Flask's default development port is 5000 and you mapped your local machine's port 5000 to the container's port 5000, then why doesn't it work when you access it locally at a localhost:5000?

WaldoTheWombat
Автор

Hi, I need help, Do we deploy Flask/django app in containers for production? because how do you make dockerfile and image for nginx+Gunicorn.

khalidRaza
Автор

hi can i ask you if you refresh the code each time when you change it in flask app ? how do you relaod without hit the refresh button ? thank you

TrashallAllsites
Автор

Hey
When i make a changes in my flaks app
I have to rebuild rerun my container
What should i do?
I tried make a volume to my container but it doesn't work idk why

abdelrahmanali
Автор

Why CMD ["python3", "app.py"] doesn't work ?
Locally without docker when I run python3 app.py in my folder project it works.

boyata-rjzy