re: Building a Production - Ready Node.js App with TypeScript and Docker VIEW POST

FULL DISCUSSION
 

Not sure I would run it in production with ts-node. Might add unnecessary overhead and impact performance. IMO, ts-node should be a devDependency.

 

ts-node is for development. we need to take a build using tsc -p . and deploy it to production.

 

Ah yes. Just noticed you are running with pm2 in your Dockerfile.

code of conduct - report abuse