Incorporate the sequelizerc file into the migrations container
This properly configures the sequelize CLI for running migrations
This commit is contained in:
parent
3f5e4bc191
commit
591b367e27
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue