Sfoglia il codice sorgente

fix Dockerfile to expose 3000

Hongcai Deng 9 anni fa
parent
commit
abc3865083
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 0
      Dockerfile
  2. 1 1
      README.md

+ 1 - 0
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

+ 1 - 1
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
 ```