File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 1- # take default image of node boron i.e node 6 .x
2- FROM node:6.10.1
1+ # Use latest node version 8 .x
2+ FROM node:8
33
44MAINTAINER Kunal Kapadia <kunalkapadia12@gmail.com>
55
Original file line number Diff line number Diff line change @@ -147,12 +147,22 @@ Get code coverage summary on executing `yarn test`
147147
148148## Docker
149149
150+ #### Using Docker Compose for Development
150151``` sh
151- # Using Docker Compose for Development
152152# service restarts on file change
153- 1. bash bin/development.sh
153+ bash bin/development.sh
154154```
155155
156+ #### Building and running without Docker Compose
157+ ``` bash
158+ # To use this option you need to make sure mongodb is listening on port 27017
159+
160+ # Build docker
161+ docker build -t express-mongoose-es6-rest-api .
162+
163+ # Run docker
164+ docker run -p 4040:4040 express-mongoose-es6-rest-api
165+ ```
156166
157167
158168## A Boilerplate-only Option
Original file line number Diff line number Diff line change @@ -33,6 +33,6 @@ services:
3333 links :
3434 - mongo
3535 mongo :
36- image : " mongo:3.4.2 "
36+ image : " mongo:3.4"
3737 ports :
3838 - " 27017:27017"
You can’t perform that action at this time.
0 commit comments