'Difference in using Node official docker image or building one from scratch
I'm currently focused on the size of the docker image i use, and i don't understand the difference between using an official node image and building my own one. It must be obvious but i can't explain this, if my goal is only to run simple node apps :
FROM node:16.14.2-alpine3.15
-> image weights 111 MB
FROM alpine:3.15
RUN apk update && apk --no-cache add nodejs npm
-> image weights 57 MB
Does someone have a clue ?
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
