Skip to content
Snippets Groups Projects
Commit 9f842a94 authored by marwengh's avatar marwengh
Browse files

hello word app

parent c8ba4001
Branches
Tags
No related merge requests found
app.py 0 → 100644
from flask import Flask
import os
app = Flask(__name__)
name = os.getenv('name')
@app.route('/')
def hello_world():
return f'Hello, {name}!'
if __name__ == '__main__':
app.run(debug=True, host=os.environ.get('FLASK_RUN_HOST', '0.0.0.0'), port=int(os.environ.get('FLASK_RUN_PORT', 5000)))
Flask==3.0.0
requests==2.26.0
Flask-DotEnv==0.1.2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment