From 459029d971723b9cedaaec855034873bee897986 Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Sat, 10 Aug 2024 23:40:15 +0200 Subject: [PATCH] dnscms: don't start when migration fails --- dnscms/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscms/Dockerfile b/dnscms/Dockerfile index 66057a2..2c4a619 100644 --- a/dnscms/Dockerfile +++ b/dnscms/Dockerfile @@ -38,4 +38,4 @@ USER wagtail RUN python manage.py collectstatic --noinput --clear -CMD set -xe; python manage.py migrate --noinput; gunicorn dnscms.wsgi:application +CMD set -xe; python manage.py migrate --noinput && gunicorn dnscms.wsgi:application