Opinionated docker image to build nodejs apps written in javascript. Only used as a stage in a multi-stage build.
Expects package.json, yarn.lock, src dir, test dir and a test:unit entry in package.json scripts.
See nodejs-javascript-hello as an example.
FROM avenga/nodejs-javascript-builder:latest AS build
FROM avenga/nodejs-javascript-app:latest AS release