mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-07-21 21:13:45 +08:00
Fixes #2441 --------- Co-authored-by: Baptiste Arnaud <[email protected]> Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
10 lines
398 B
Bash
10 lines
398 B
Bash
#!/bin/bash
|
|
|
|
cd apps/builder;
|
|
node -e "const { configureRuntimeEnv } = require('next-runtime-env/build/configure'); configureRuntimeEnv();"
|
|
cd ../..;
|
|
|
|
./node_modules/.bin/prisma migrate deploy --schema=packages/prisma/postgresql/schema.prisma --config=packages/prisma/prisma.config.ts;
|
|
|
|
NODE_OPTIONS=--no-node-snapshot HOSTNAME=${HOSTNAME:-0.0.0.0} PORT=${PORT:-3000} node apps/builder/server.js;
|