9 lines
195 B
Bash
Executable File
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"
|