Dockerfile with nodejs and mongodb
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
LICENSE
README.md
run.sh

README.md

Node.js and MongoDB Dockerfile

This repository contains Dockerfile of MongoDB and Node.js for Docker.

Base Docker Image

Installation

  1. Install Docker.

  2. You can build an image from GitHub: docker build -t gsastudio/meanstack github.com/gsa-studio/dockerfile-meanstack (You can build an image from Dockefile after clone: docker build -t gsastudio/meanstack .)

Usage

Run gsastudio/meanstack

sudo docker run -it --rm -p 3000:3000 -p 27017:27017 -v <project-dir>:/data gsastudio/meanstack

Run mongod

/run.sh

Run node

nodemon <yourserver.js>