aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/scripts/migrate.sh
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-09-28 06:20:07 +1000
committerGravatar scragly <[email protected]>2019-09-28 06:20:07 +1000
commit4769c8b5e3ba70301b1123c5750429b2092b01b1 (patch)
tree172f46a1b495a3b6948e183165a3e623b1462380 /docker/app/scripts/migrate.sh
parentEnsure docker containers are published only for master branch bu… (#264) (diff)
Create custom manage.py entry point, remove scripts and merge Dockerfile.
Diffstat (limited to 'docker/app/scripts/migrate.sh')
-rwxr-xr-xdocker/app/scripts/migrate.sh10
1 files changed, 0 insertions, 10 deletions
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