Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Use Docker.

When you build a docker image, you copy all your runtime dependencies (`node_modules/`) and build artifacts into the image. When you push a deployment you are deploying that static image with the dependencies baked in, instead of trying to install the dependencies at startup.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: