♻️ Re-organize workspace folders
This commit is contained in:
13
scripts/builder-entrypoint.sh
Normal file
13
scripts/builder-entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
ENVSH_ENV=./apps/builder/.env.production ENVSH_OUTPUT=./apps/builder/public/__env.js bash env.sh
|
||||
|
||||
./node_modules/.bin/prisma generate --schema=packages/prisma/postgresql/schema.prisma;
|
||||
|
||||
echo 'Waiting 5s for db to be ready...';
|
||||
sleep 5;
|
||||
|
||||
./node_modules/.bin/prisma migrate deploy --schema=packages/prisma/postgresql/schema.prisma;
|
||||
|
||||
|
||||
node apps/builder/server.js;
|
||||
Reference in New Issue
Block a user