summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-06-16 14:15:55 -0400
committerChristopher Speller <crspeller@gmail.com>2015-06-16 17:23:32 -0400
commitf116d0c93ac9044a7f227a7d463117f18d5548bf (patch)
treedfb65f55d21b010a605edeeba7a03dad54063579 /Dockerfile
parent6bb0c65ef751a56bb012fa71fe581a83e945fa6d (diff)
downloadchat-f116d0c93ac9044a7f227a7d463117f18d5548bf.tar.gz
chat-f116d0c93ac9044a7f227a7d463117f18d5548bf.tar.bz2
chat-f116d0c93ac9044a7f227a7d463117f18d5548bf.zip
Modifications for sending local mail
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 2e2ad002d..da57550c0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,9 @@ RUN apt-get install -y nodejs
RUN apt-get install -y ruby-full
RUN gem install compass
+# Postfix
+RUN apt-get install -y postfix
+
#
# Install GO
#
@@ -79,6 +82,8 @@ RUN wget http://download.redis.io/redis-stable.tar.gz; \
# Copy over files
ADD . /go/src/github.com/mattermost/platform
+# Insert postfix config
+ADD ./config/main.cf /etc/postfix/
RUN go get github.com/tools/godep
RUN cd /go/src/github.com/mattermost/platform; godep restore
@@ -89,4 +94,4 @@ RUN chmod +x /go/src/github.com/mattermost/platform/docker-entry.sh
ENTRYPOINT /go/src/github.com/mattermost/platform/docker-entry.sh
# Ports
-EXPOSE 8065
+EXPOSE 80