diff options
Diffstat (limited to 'compose/production/django/start')
-rw-r--r-- | compose/production/django/start | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/compose/production/django/start b/compose/production/django/start new file mode 100644 index 0000000..97216fa --- /dev/null +++ b/compose/production/django/start @@ -0,0 +1,10 @@ +#!/bin/bash + +set -o errexit +set -o pipefail +set -o nounset + + +python /app/manage.py collectstatic --noinput + +exec /usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app |