Initial Flask demo

This commit is contained in:
Galyaviev Ruslan
2025-09-01 10:54:35 +03:00
commit 646f36716d
13 changed files with 125 additions and 0 deletions

10
app.py Normal file
View File

@@ -0,0 +1,10 @@
from flask import Flask, render_template
app = Flask(__name__)
@app.get("/")
def home():
return render_template("index.html", title="Flask CI/CD demo")
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8000) # внутри контейнера слушаем 8000