Docker file for latest version latest
docker pull anshulguleria/ubuntu-node-mongo:devel
This image will be using
ubuntu:latest as base image and comes with nodejs and mongodb pre-installed.
Mongo is installed as standalone package using tar file of mongo. Thus
mongodb folder is present at
/ path. And
/mongodb/bin:$PATH is added to path.
Nodejs is installed binary from nodejs official site. Node is installed as
6.x version of node.
Git is installed from linux official ppa. Currently its at
To start the mongo server run
mongod. This will use the default db at
/dev/db. If you are using this for some ci or testing run mongod as daemon process e.g.
(mongod > /dev/null)&.