FROM node:latest WORKDIR frontend ARG NPM_REGISTRY="http://www.npmjs.org" RUN npm config set registry ${NPM_REGISTRY}