Skip to content

gsa-studio/dockerfile-meanstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages