mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-19 04:30:10 +01:00
9ce3d1150d
* Update Ubuntu base image and improve Dockerfile * Add unzip to Docker image dependencies Needed for the arm64 build * reset tabs * formalized lint rules for hadolint. however the Docker formatting is being handled by MS Docker extension which doesn't indent code as expected. WIP. * found a workaround to keep formatting --------- Co-authored-by: timothycarambat <rambat1010@gmail.com>
11 lines
245 B
Bash
Executable File
11 lines
245 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
|
|
} &
|
|
{ node /app/collector/index.js; } &
|
|
wait -n
|
|
exit $?
|