anything-llm/docker/docker-entrypoint.sh

11 lines
245 B
Bash
Raw Permalink Normal View History

#!/bin/bash
{
cd /app/server/ &&
npx prisma generate --schema=./prisma/schema.prisma &&
npx prisma migrate deploy --schema=./prisma/schema.prisma &&
node /app/server/index.js
} &
{ node /app/collector/index.js; } &
wait -n
exit $?