FROM node:12-alpine AS builder WORKDIR /home/node/app COPY ./web/package.json . RUN npm install COPY ./web . # modify index.html template to allow injection of js variables at runtime RUN sed -i '/<\/head>/i