From ed9af243d4a7e26098b55e72916d9a84406fbc07 Mon Sep 17 00:00:00 2001 From: Rohit Date: Tue, 25 Mar 2025 22:05:28 +0530 Subject: [PATCH] feat: rm invalid path --- server/docker-entrypoint.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/docker-entrypoint.sh b/server/docker-entrypoint.sh index 89ada4f3..ad670faf 100644 --- a/server/docker-entrypoint.sh +++ b/server/docker-entrypoint.sh @@ -27,4 +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(success => { if (success || process.env.CONTINUE_ON_MIGRATION_FAILURE === 'true') { require('./server/src/index'); } else { console.error('Migration failed. Exiting.'); process.exit(1); } })" \ No newline at end of file +NODE_OPTIONS="--max-old-space-size=4096" node -e "require('./server/src/db/migrate')().then(() => { console.log('Migration process completed.'); })" + +# Run the server normally +exec "$@" \ No newline at end of file