From f181dccc1c7dc926ed32abf43ac49e5549dc5275 Mon Sep 17 00:00:00 2001 From: Timon Horlboge Date: Sun, 22 Feb 2026 15:05:10 +0100 Subject: [PATCH] update containerfile --- Containerfile | 2 +- main.py => app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename main.py => app.py (98%) diff --git a/Containerfile b/Containerfile index 8df32e5..cc62914 100644 --- a/Containerfile +++ b/Containerfile @@ -11,4 +11,4 @@ COPY * /app/ COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -CMD ["python", "/app/main.py"] +CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"] diff --git a/main.py b/app.py similarity index 98% rename from main.py rename to app.py index 3f0b067..7f2d635 100644 --- a/main.py +++ b/app.py @@ -51,4 +51,4 @@ def index(): if __name__ == '__main__': - app.run(debug=True) + app.run()