mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-03-16 23:22:22 +00:00
* WIP aws fixes to latest changes; * change default in docker env * bump storage default for docker * Updates to docker deployment
9 lines
No EOL
329 B
Bash
Executable file
9 lines
No EOL
329 B
Bash
Executable file
#!/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
|
|
} &
|
|
{ FLASK_ENV=production FLASK_APP=wsgi.py cd collector && gunicorn --timeout 300 --workers 4 --bind 0.0.0.0:8888 wsgi:api; } &
|
|
wait -n
|
|
exit $? |