diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml index 9da2b74..e8b5741 100644 --- a/docker/docker-compose.prod.yml +++ b/docker/docker-compose.prod.yml @@ -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