mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
Fixes #2441 --------- Co-authored-by: Baptiste Arnaud <baptiste@typebot.io> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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;
|