Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Dockerfile with nodejs and mongodb

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages