Docker image based on NodeJS official image, with AngularCLI
4.7K
FROM node:boron
LABEL maintainer "Gabriel Araujo <[email protected]>"
USER root
RUN mkdir /home/.npm-global
ENV PATH=/home/.npm-global/bin:$PATH
ENV NPM_CONFIG_PREFIX=/home/.npm-global
# Install node dependencies
RUN npm install --quiet --no-progress -g @angular/cli@latest firebase-tools
RUN npm cache clean --force