Skip to content

Commit

Permalink
fix Dockerfile to expose 3000
Browse files Browse the repository at this point in the history
  • Loading branch information
denghongcai committed Dec 31, 2015
1 parent 84272b7 commit abc3865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ RUN npm config set registry https://registry.npm.taobao.org
RUN npm install

EXPOSE 25
EXPOSE 3000
CMD npm start
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ npm install && npm start
if you want run this inside a docker container
```
docker build -t denghongcai/forsaken-mail .
docker run --name forsaken-mail -d -p 25:25 denghongcai/forsaken-mail
docker run --name forsaken-mail -d -p 25:25 -p 3000:3000 denghongcai/forsaken-mail
```

0 comments on commit abc3865

Please sign in to comment.