Skip to content

Commit

Permalink
🐳 Force Next.js apps local hostname
Browse files Browse the repository at this point in the history
Closes #911
  • Loading branch information
baptisteArno committed Oct 13, 2023
1 parent ee7dfbf commit 3ca5384
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ typebotsToFix.json
snapshots

.env
.typebot-build
2 changes: 1 addition & 1 deletion scripts/builder-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ sleep 15;

./node_modules/.bin/prisma migrate deploy --schema=packages/prisma/postgresql/schema.prisma;

node apps/builder/server.js;
HOSTNAME=0.0.0.0 PORT=3000 node apps/builder/server.js;
2 changes: 1 addition & 1 deletion scripts/viewer-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cd apps/viewer;
node -e "const { configureRuntimeEnv } = require('next-runtime-env/build/configure'); configureRuntimeEnv();"
cd ../..;

node apps/viewer/server.js;
HOSTNAME=0.0.0.0 PORT=3000 node apps/viewer/server.js;

0 comments on commit 3ca5384

Please sign in to comment.