Add build stanza to migration

This commit is contained in:
Mark Veidemanis 2022-09-06 12:11:51 +01:00
parent 87324de666
commit e90c151787
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 0 deletions

View File

@ -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