cookiecutter-django/{{cookiecutter.project_slug}}/compose/production/django/start
2018-05-21 22:28:18 +03:00

10 lines
174 B
Bash

#!/bin/sh
set -o errexit
set -o pipefail
set -o nounset
python /app/manage.py collectstatic --noinput
/usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app