Minimal docker base image built on alpine. Use this image as base in your build stages, then add an additional stage for production, where you inherot from mwaeckerlin/scratch and where copy only the required files and dependencies.
Image size: ca. 7.05MB (depends on alpine
, so it may vary from build to build)
See mwaeckerlin/nginx as an example on how to build a service using this image.
Use mwaeckerlin/nodejs-build as build image for Node.JS applications.
See mwaeckerlin/nodejs-build as production ready run time base image for your Node.JS applications.