cookiecutter-django/{{cookiecutter.project_slug}}/docker/run.sh

5 lines
129 B
Bash
Executable file

#!/bin/bash
set -eux
python manage.py migrate --noinput
gunicorn {{cookiecutter.project_slug}}.wsgi -b 0.0.0.0:8000 --log-file -