From 55ce8b98ffcd8cc098df8f50adaefc6e7e40c408 Mon Sep 17 00:00:00 2001
From: Evans Ochieng <eo00684@surrey.ac.uk>
Date: Mon, 17 Apr 2023 00:24:43 +0100
Subject: [PATCH] Modified to use the run.py script

---
 frontend/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index 75c1140..d270dd4 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -17,4 +17,4 @@ RUN pip3 install -r requirements.txt
 
 COPY . /frontend
 
-CMD [ "./wait-for-it.sh", "db:3306", "--timeout=0" ,"--","python3", "-m", "flask", "run", "--host=0.0.0.0", "-p 5003"]
\ No newline at end of file
+CMD [ "./wait-for-it.sh", "user-db:3306", "--timeout=0" ,"--","python3", "run.py"]
\ No newline at end of file
-- 
GitLab