- CI now runs pnpm install and includes node_modules in the zip artifact - startup.sh simplified: removed pnpm install fallback, uses direct bin path instead of npx - Azure Web App always-on enabled to prevent cold starts Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
14 lines
313 B
Bash
14 lines
313 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "=== LangGraph Server Startup ==="
|
|
|
|
cd /home/site/wwwroot
|
|
|
|
# Ensure langgraphjs dev prerequisites exist
|
|
touch .env
|
|
mkdir -p .langgraph_api
|
|
|
|
echo "Starting LangGraph server on port ${PORT:-8080}..."
|
|
exec ./node_modules/.bin/langgraphjs dev --host 0.0.0.0 --port ${PORT:-8080} --no-browser
|