update entrypoint

This commit is contained in:
TDLaouer 2025-07-13 19:47:23 +02:00
parent 8b3d8d4c98
commit e44cd60677

4
entrypoint.sh Normal file → Executable file
View 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 "$@"