Skip to content

Commit 494a713

Browse files
committed
doc: add docker setup to readme
1 parent 0fd6c0e commit 494a713

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,21 @@ Assets can be kept where you want and can be imported into your js files or css
139139
### ES6 support
140140
We use babel to transpile code in both server and client with `stage-0` plugin. So, you can use both ES6 and experimental ES7 features.
141141

142+
### Docker
143+
There are docker configurations for both development and production.
144+
145+
To run docker for development,
146+
```
147+
docker-compose -f docker-compose-development.yml build
148+
docker-compose -f docker-compose-development.yml up
149+
```
150+
151+
To run docker for production,
152+
```
153+
docker-compose build
154+
docker-compose up
155+
```
156+
142157
### Make your MERN
143158
In this version, we enabled the `mern-cli` to clone not only this project but also the variants of `mern-starter` like one project with MaterialUI or JWT auth. To make your version of MERN, follow these steps
144159

0 commit comments

Comments
 (0)