Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,8 @@ FROM node:8.11.1-alpine
LABEL maintainer [email protected]

ENV ANGULAR_CLI_VERSION 1.7.4

RUN chown -R node:node /usr/local/lib/node_modules \
&& chown -R node:node /usr/local/bin

USER node

RUN npm install -g @angular/cli@${ANGULAR_CLI_VERSION}

# RUN ng set --global packageManager=yarn
RUN ng set --global packageManager=npm

USER root
RUN npm install -g @angular/cli@${ANGULAR_CLI_VERSION} && \
ng set --global packageManager=npm



Expand Down