Add build stanza to migration
This commit is contained in:
@@ -20,6 +20,7 @@ services:
|
||||
|
||||
migration:
|
||||
image: pathogen/neptune:latest
|
||||
build: ./docker/prod
|
||||
command: sh -c '. /venv/bin/activate && python manage.py migrate --noinput'
|
||||
volumes:
|
||||
- ${PORTAINER_GIT_DIR}:/code
|
||||
|
||||
Reference in New Issue
Block a user