Closed okket closed 9 years ago
RUN bash -c ". $HOME/.bashrc && npm -g i sails@0.11 grunt bower pm2"
I guess this "hack" is also needed for the CMD line(s) or else npm will not be found.
@okket could you explain a bit further? Do you mean Windows with 'CMD lines(s)'?
No, not Windows, this CMD:
https://docs.docker.com/reference/builder/#cmd
I guess we can discuss this further in my PR
RUN bash -c ". $HOME/.bashrc && npm -g i sails@0.11 grunt bower pm2"
I guess this "hack" is also needed for the CMD line(s) or else npm will not be found.