membersystem/entrypoint.sh
2024-07-14 21:19:32 +02:00

11 lines
250 B
Bash
Executable file

#!/bin/sh
# Only migrate, collectstatic and compilemessages if we are NOT in development
if [ -z "$DEBUG" ]; then
python src/manage.py migrate;
python src/manage.py collectstatic --no-input;
python src/manage.py compilemessages;
fi
exec "$@"