Skip to content

Instantly share code, notes, and snippets.

@a-r-d
Last active December 31, 2015 22:52
Show Gist options
  • Save a-r-d/b2916b413dd59a40c778 to your computer and use it in GitHub Desktop.
Save a-r-d/b2916b413dd59a40c778 to your computer and use it in GitHub Desktop.
Node Dockerfile
FROM ubuntu:14.04
RUN apt-get update
RUN apt-get install -y git git-core nodejs npm memcached mongodb
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
@a-r-d
Copy link
Author

a-r-d commented Dec 31, 2015

Also:

sudo npm install -g n
sudo n stable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment