chore: build compiled migration

This commit is contained in:
Rohit Rajan
2025-12-04 14:08:15 +05:30
parent 6ef725ddcd
commit d477402287

View File

@@ -27,7 +27,7 @@ wait_for_postgres() {
wait_for_postgres
# Run the application with migrations before startup
NODE_OPTIONS="--max-old-space-size=4096" node -e "require('./server/src/db/migrate')().then(() => { console.log('Migration process completed.'); })"
NODE_OPTIONS="--max-old-space-size=4096" node -e "require('./server/dist/server/src/db/migrate')().then(() => { console.log('Migration process completed.'); })"
# Run the server normally
# Run the server normally
exec "$@"