From 9e6208620ec473a866cba69673ddee80601fd0b7 Mon Sep 17 00:00:00 2001 From: Rajendra Date: Thu, 21 Nov 2024 19:42:29 +0530 Subject: [PATCH] Create http_serv.py --- http_serv.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 http_serv.py diff --git a/http_serv.py b/http_serv.py new file mode 100644 index 0000000..112dcd3 --- /dev/null +++ b/http_serv.py @@ -0,0 +1,10 @@ +from flask import Flask +import os +app = Flask(__name__) +@app.route('/') + +def hello(): + return ('\nHello from Container World! \n\n') + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=8080, debug=True)