Skip to content

Commit 6f76f03

Browse files
committed
Added Docker instructions
1 parent 45a4832 commit 6f76f03

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ This application uses the [IBM Cloud Databases for MongoDB service](https://clou
3636

3737
> Note that the code assumes a secured connection to MongoDB using SSL and a certificate. This way you can run the app locally but connect to IBM Cloud Databases for MongoDB.
3838
39-
An alternative way of local development is using the provided Dockerfile.
39+
An alternative way of running locally is using the provided `Dockerfile`.
40+
- Install docker on your machine and build the docker image
41+
```
42+
docker build . -t mean-stack:v1.0.0
43+
```
44+
- Run the app locally
45+
```
46+
docker run -p 6020:6020 -ti mean-stack:v1.0.0
47+
```
4048

4149
##### Deploy to IBM Cloud
4250

0 commit comments

Comments
 (0)