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
commit43a35119d453401d811c8e2ee289d60067dec442 (patch)
tree0fb39140c02b9b9bd36325b7aaf9b5b2590d650a /Dockerfile
parent5c5b7d9738ede69c3224c3f3706c1b39b84f8796 (diff)
downloadchat-43a35119d453401d811c8e2ee289d60067dec442.tar.gz
chat-43a35119d453401d811c8e2ee289d60067dec442.tar.bz2
chat-43a35119d453401d811c8e2ee289d60067dec442.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