2
0
Files
bot/scripts/viewer-entrypoint.sh
2024-07-18 16:31:25 +02:00

7 lines
237 B
Bash

#!/bin/bash
cd apps/viewer;
node -e "const { configureRuntimeEnv } = require('next-runtime-env/build/configure'); configureRuntimeEnv();"
cd ../..;
NODE_OPTIONS=--no-node-snapshot HOSTNAME=0.0.0.0 PORT=3000 node apps/viewer/server.js;