14 lines
270 B
Python
14 lines
270 B
Python
from flask import Flask
|
|
import os
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def hello():
|
|
return "CyberHackademy 2023 inside a docker container!"
|
|
|
|
|
|
if __name__ == "__main__":
|
|
port = int(os.environ.get("PORT", 5000))
|
|
app.run(debug=True,host='0.0.0.0',port=port)
|