* NestJS app, about 50K LoC * 2GB/2vCPU server on AWS Lightsail, Debian 12 * Dockerfile FROM node:18-alpine
Every time I do a deployment, either the
npm install --no-audit
npm install --no-audit
or
tsc
tsc
eats up all the resources and hangs the server. Anyone have a similar issue?
Considered changing to pnpm or something but that install time also kinda sucks. Thinking about delegating build responsibility elsewhere and sending a compiled output to Dokploy for deployment and hosting.