Incorporate the sequelizerc file into the migrations container

This properly configures the sequelize CLI for running migrations
This commit is contained in:
R. Tyler Croy 2018-07-18 08:13:24 -07:00
parent 3f5e4bc191
commit 591b367e27
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 3 additions and 1 deletions

View File

@ -2,4 +2,6 @@ FROM jenkinsciinfra/evergreen-backend:latest
ENV PATH ./node_modules/.bin:$PATH
COPY .sequelizerc .
CMD sh -c 'sequelize db:migrate && sequelize db:seed:all'

View File

@ -81,7 +81,7 @@ container: depends check Dockerfile container-migration
container-check: container check
container-migration: container migrate Dockerfile.migrations
container-migration: Dockerfile.migrations
docker build -t $(IMAGE_NAME)-migrations:latest -f Dockerfile.migrations .
ingest-update-center: essentials.yaml ingest-update-center