diff --git a/Dockerfile b/Dockerfile
index 9f2490cf432ac1ebd647de6393609081fee51038..fd8bb99660f07db50f3fb24615681761976965f9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,4 +16,4 @@ ENV DATABASE_PASSWORD secret
 ENV DATABASE_NAME db
 ENV DATABASE_HOST postgresql
 
-CMD [ "flask", "run" ]
+CMD [ "python3", "app.py" ]
diff --git a/app.py b/app.py
index d87831047101e75d5369be2ce4b977fd84a3786c..45f338db32fed5612127654cfbdb2b7df4631c66 100644
--- a/app.py
+++ b/app.py
@@ -36,4 +36,4 @@ def initialize_database():
     init_db()
 
 if __name__ == '__main__':
-    app.run()
+    app.run(host="0.0.0.0")