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