update entrypoint
This commit is contained in:
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 "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user