Skip to content

Commit 4cbc9de

Browse files
author
Marcus Levine
committed
switching entrypoint to use manage_django script
1 parent 112b81c commit 4cbc9de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [[ $@ == *"gunicorn"* || $@ == *"runserver"* ]]; then
66
if [ -f ${DJANGO_ROOT}/${PROJECT_NAME}/manage.py ]; then
77
/usr/bin/wait_on_postgres.py
88
if [ "$?" == "0" ]; then
9-
${DJANGO_VENV}/bin/python ${DJANGO_ROOT}/${PROJECT_NAME}/manage.py migrate --fake-initial --noinput
9+
/usr/bin/manage_django.sh migrate --fake-initial --noinput
1010
fi
1111
fi
1212
fi

0 commit comments

Comments
 (0)