Skip to content

Conversation

@hemanthbee
Copy link
Collaborator

No description provided.

Comment on lines +42 to +43
command: ["/bin/sh", "-c", "sleep 5 && npx ts-node script/storage/seedData.ts && npm run build && pm2-runtime start /app/pm2/pm2-dev.json"]

Copy link

@princektripathi princektripathi Oct 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
command: ["/bin/sh", "-c", "sleep 5 && npx ts-node script/storage/seedData.ts && npm run build && pm2-runtime start /app/pm2/pm2-dev.json"]
command: ["/bin/sh", "-c", "sleep 5 && npx ts-node script/storage/seedData.ts && npm run build && pm2-runtime start /app/pm2/pm2-dev.json"]

Why are we hardcoding pm2-dev.json? We have a config per env.
Also, why are we running seeData? If someone, uses Docker to deploy on PROD then this step is incorrect.

@mohithemnani11 mohithemnani11 changed the base branch from main to delivr/MergeChanges October 17, 2025 10:28
@mohithemnani11 mohithemnani11 changed the base branch from delivr/MergeChanges to main October 17, 2025 10:31
@mohithemnani11 mohithemnani11 changed the base branch from main to delivr/MergeChanges October 17, 2025 10:32
@prathameshy7 prathameshy7 merged commit 013c9ca into delivr/MergeChanges Oct 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants