Files
Backend/entrypoint.sh
T
2026-03-25 15:43:00 +03:30

10 lines
205 B
Bash

#!/bin/sh
set -e
if [ "${SKIP_MIGRATE}" != "1" ]; then
echo "Running migrations..."
python manage.py migrate --noinput --fake-initial
echo "Migrations done."
fi
echo "Starting command: $*"
exec "$@"