sofia-cloud / entrypoint.sh
Gmagl
Add Sofia Cloud complete files
333c51a
raw
history blame
215 Bytes
#!/bin/sh
# Initialize database if it doesn't exist
if [ ! -f /app/data/sofia.db ]; then
echo "Initializing database..."
cd /app && bunx prisma db push --skip-generate
fi
# Start the application
exec "$@"