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
commit76a0e0fea4ad2901716eae4b638a73befa1e49f8 (patch)
tree525e1a7acec49a703e6d5f21f80047f70ec09b19 /Dockerfile
parentbc7d9f5b5e4dd3ff87d0486eaba628bb8d205e6e (diff)
downloadchat-76a0e0fea4ad2901716eae4b638a73befa1e49f8.tar.gz
chat-76a0e0fea4ad2901716eae4b638a73befa1e49f8.tar.bz2
chat-76a0e0fea4ad2901716eae4b638a73befa1e49f8.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