Make migration failures non-fatal to starting the application

This commit is contained in:
R. Tyler Croy 2018-10-27 15:53:38 -07:00
parent 46752a4860
commit 16130b7021
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 1 additions and 1 deletions

View File

@ -24,4 +24,4 @@ COPY .sequelizerc ${APP_DIR}/
EXPOSE 3030
CMD node ./node_modules/.bin/sequelize db:migrate && node ./build/
CMD node ./node_modules/.bin/sequelize db:migrate || node ./build/