---
title: "Discussion on \"Containerizing a Simple Python Flask App with Docker\" | Hashnode"
description: "Discussion on \"Containerizing a Simple Python Flask App with Docker\". Creating the Python Flask App\nFirst, we'll create a simple Python Flask app that returns \"Hello, World!\" at the root URL route ('/').\nfrom flask import Flask\napp = Flask(__name__)\n\n@app.route('/')\ndef hello():\n    return 'Hello, World!' \n\nif __name__..."
url: "https://hashnode.com/posts/containerizing-a-simple-python-flask-app-with-docker/654dbf265072dedfffe5e7ce"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Containerizing a Simple Python Flask App with Docker](https://edvindsouza.hashnode.dev/containerizing-a-simple-python-flask-app-with-docker?utm_source=hashnode&utm_medium=feed)

Creating the Python Flask App First, we'll create a simple Python Flask app that returns "Hello, World!" at the root URL route ('/'). from flask import Flask app = Flask(\_\_name\_\_) @app.route('/') def hello(): return 'Hello, World!' if \_\_name\_\_...

Nov 10, 2023 · 1 min read · edvindsouza.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#python](https://hashnode.com/tag/python)
-   [#containerization](https://hashnode.com/tag/containerization)

## Written by

[Edvin Dsouza](https://hashnode.com/@clouds)

@clouds · Toronto, ON

  
[View profile](https://hashnode.com/@clouds)

Proficient in leading DevOps technologies: Azure, AWS.

👩‍💻 DevOps engineer 🚀 | Automation enthusiast ⚙️ | Infrastructure as code | CI/CD 🌟 Let's build awesome things together!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
