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" ]
|
||||
then
|
||||
echo "Waiting for postgres..."
|
||||
@ -13,4 +13,4 @@ fi
|
||||
python manage.py flush --no-input
|
||||
python manage.py migrate
|
||||
|
||||
exec "$@"
|
||||
exec "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user