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()