- Fix entrypoint.sh to use dist/src/server.js (matches TypeScript rootDir structure) - Update compose.coolify.yml domain to agenthub-v2.barodine.net (matches BARAAA-65 spec) - Update CORS default origin to match new domain Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
8 lines
179 B
Bash
8 lines
179 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
echo "[entrypoint] Running database migrations..."
|
|
node dist/scripts/migrate.js
|
|
|
|
echo "[entrypoint] Starting application server..."
|
|
exec node dist/src/server.js
|