Created
December 6, 2017 19:18
-
-
Save albertorm95/9f95aaeeb2d670ba6ea2fbf8348175aa to your computer and use it in GitHub Desktop.
Dockerfile with nodemon and angular/cli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:8.9.1-alpine | |
USER node | |
RUN mkdir /home/node/.npm-global | |
ENV PATH=/home/node/.npm-global/bin:$PATH | |
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global | |
RUN npm install -g @angular/cli | |
USER root | |
RUN npm install -g nodemon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment