Last active
December 31, 2015 22:52
-
-
Save a-r-d/b2916b413dd59a40c778 to your computer and use it in GitHub Desktop.
Node Dockerfile
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 ubuntu:14.04 | |
RUN apt-get update | |
RUN apt-get install -y git git-core nodejs npm memcached mongodb | |
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
sudo apt-get update | |
sudo apt-get install -y git git-core nodejs npm memcached | |
## Maybe | |
sudo apt-get install -y nginx | |
sudo apt-get install -y mongodb | |
sudo ln -s "$(which nodejs)" /usr/bin/node | |
sudo npm install -g forever | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also:
sudo npm install -g n
sudo n stable