fix(dokploy): remove wait-for-postgres script from start command in package.json

- Updated the start script in package.json to eliminate the wait-for-postgres script, streamlining the application startup process.
- This change ensures that the migration and server processes are initiated directly without the wait-for-postgres dependency.
This commit is contained in:
Mauricio Siu
2026-02-08 16:22:26 -06:00
parent f2e4a96154
commit ecd81eb7fa
+1 -1
View File
@@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"build": "npm run build-server && npm run build-next",
"start": "node -r dotenv/config dist/wait-for-postgres.mjs && node -r dotenv/config dist/migration.mjs && node -r dotenv/config dist/server.mjs",
"start": "node -r dotenv/config dist/migration.mjs && node -r dotenv/config dist/server.mjs",
"build-server": "tsx esbuild.config.ts",
"build-next": "next build --webpack",
"setup": "tsx -r dotenv/config setup.ts && sleep 5 && pnpm run migration:run",