Skip to content

Commit 427eca8

Browse files
authored
Merge pull request #1994 from otaviosilva22/patch-1
docs(README): Add ports mapping to Docker Compose example
2 parents fc3b8b6 + d7c2df9 commit 427eca8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ services:
8080
- ./:/home/node/app
8181
expose:
8282
- "8081"
83+
ports: # use if it is necessary to expose the container to the host machine
84+
- "8001:8001"
8385
command: "npm start"
8486
```
8587

0 commit comments

Comments
 (0)