From 4769c8b5e3ba70301b1123c5750429b2092b01b1 Mon Sep 17 00:00:00 2001 From: scragly <29337040+scragly@users.noreply.github.com> Date: Sat, 28 Sep 2019 06:20:07 +1000 Subject: Create custom manage.py entry point, remove scripts and merge Dockerfile. --- docker/app/scripts/migrate.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 docker/app/scripts/migrate.sh (limited to 'docker/app/scripts/migrate.sh') diff --git a/docker/app/scripts/migrate.sh b/docker/app/scripts/migrate.sh deleted file mode 100755 index 22636c93..00000000 --- a/docker/app/scripts/migrate.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -echo --- Applying migrations --- -python manage.py migrate --verbosity 1 - -echo --- Collecting static files --- -python manage.py collectstatic --no-input --clear --verbosity 1 - -echo --- Starting uwsgi --- -exec "$@" # This runs the CMD at the end of the Dockerfile -- cgit v1.2.3