Files
boss/scripts/run-web.sh
2026-03-26 23:16:56 +08:00

9 lines
195 B
Bash
Executable File

#!/bin/zsh
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
PORT_VALUE="${PORT:-3000}"
cd "$ROOT_DIR"
exec node .next/standalone/server.js --hostname 0.0.0.0 --port "$PORT_VALUE"