From abc38650833b9599893e8d47b1dc7152d945562f Mon Sep 17 00:00:00 2001 From: Hongcai Deng Date: Thu, 31 Dec 2015 11:21:29 +0800 Subject: [PATCH] fix Dockerfile to expose 3000 --- Dockerfile | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2d6cfa2..0f07667 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,5 @@ RUN npm config set registry https://registry.npm.taobao.org RUN npm install EXPOSE 25 +EXPOSE 3000 CMD npm start \ No newline at end of file diff --git a/README.md b/README.md index 4b64647..6935719 100644 --- a/README.md +++ b/README.md @@ -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 ```