update entrypoint
This commit is contained in:
parent
8b3d8d4c98
commit
e44cd60677
4
entrypoint.sh
Normal file → Executable file
4
entrypoint.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
if [ "$DATABASE" = "postgres" ]
|
if [ "$DATABASE" = "postgres" ]
|
||||||
then
|
then
|
||||||
echo "Waiting for postgres..."
|
echo "Waiting for postgres..."
|
||||||
@ -13,4 +13,4 @@ fi
|
|||||||
python manage.py flush --no-input
|
python manage.py flush --no-input
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user