artificialio / docker-sails

Docker container for SailsJS, optionally managed by PM2
https://registry.hub.docker.com/u/artificial/docker-sails/
26 stars 7 forks source link

nvm-iojs-latest build fix #7

Closed okket closed 9 years ago

okket commented 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.

Globegitter commented 9 years ago

@okket could you explain a bit further? Do you mean Windows with 'CMD lines(s)'?

okket commented 9 years ago

No, not Windows, this CMD:

https://docs.docker.com/reference/builder/#cmd

okket commented 9 years ago

I guess we can discuss this further in my PR