summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
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