Back to Blog
NodeJS on Ubuntu and Debian in Docker
· 1 min read
- Node.js
- Docker
For my current development project, I wanted to install NodeJS in my docker image, with the following constraints:
-
OS starting point that I define ( monthly patched version of Debian-LTS )
-
Latest security patched version of the NodeJS binaries
-
Need faster security patching
-
Avoid using Package Manager - no apt
-
Low disk footprint
Built this snippet:
https://gitlab.com/-/snippets/3613589
Hoping you find it useful.
Originally published on Hashnode