From e90c151787d11df0312278eb288ab650a4c3b8b0 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 6 Sep 2022 12:11:51 +0100 Subject: [PATCH] Add build stanza to migration --- docker/docker-compose.prod.yml | 1 + 1 file changed, 1 insertion(+) 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