Fix SQL Errors after upgrading the image.

This commit is contained in:
FireMasterK 2020-09-21 01:06:55 +05:30 committed by GitHub
parent 701a9540d6
commit 307634372f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,8 @@ RUN flask db init \
&& flask db migrate \ && flask db migrate \
&& flask db upgrade && 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 && gunicorn -b 0.0.0.0:5000 -w 4 yotter:app
EXPOSE 5000 EXPOSE 5000