From 307634372f4983b49781429b669c2fdb75f230ac Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 21 Sep 2020 01:06:55 +0530 Subject: [PATCH] Fix SQL Errors after upgrading the image. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e7f2d0f..118118d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,8 @@ RUN flask db init \ && flask db migrate \ && flask db upgrade -CMD flask db upgrade \ +CMD flask db migrate \ + && flask db upgrade \ && gunicorn -b 0.0.0.0:5000 -w 4 yotter:app EXPOSE 5000