From a2e9c5513b46937d211ba174e9eaccfbcadb750a Mon Sep 17 00:00:00 2001 From: Christopher Feldhues <cf952789@fh-muenster.de> Date: Fri, 13 Sep 2024 14:53:00 +0200 Subject: [PATCH] ... --- Procfile | 1 + main.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Procfile diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..66e90bb --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: uvicorn main:app --host 0.0.0.0 --port 8080 \ No newline at end of file diff --git a/main.py b/main.py index 7e7999e..d4771bf 100644 --- a/main.py +++ b/main.py @@ -4,4 +4,6 @@ app = FastAPI() @app.get("/") async def root(): - return {"greeting":"Hallo MSA!"} \ No newline at end of file + return {"greeting":"Hallo MSA!"} + +# uvicorn main:app --reload \ No newline at end of file -- GitLab