Ass 3
Ass 3
---
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, Dockerized Flask App!'
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000)
```
---
---
---
---
---
---
---
---
---
### **Summary**
- You created a simple Flask application.
- You containerized it using Docker by writing a `Dockerfile`.
- You built and ran the Docker container.
- You tested the application and optionally pushed the image to a Docker registry.