Merge pull request #21 from humboldtux/patch-1

Working Dockerfile
This commit is contained in:
Ian Kent 2014-12-31 12:47:43 +00:00
commit 2504477e9c

View file

@ -1,11 +1,7 @@
FROM ubuntu:14.04
FROM golang:1.4
EXPOSE 1025
EXPOSE 8025
RUN go get github.com/mailhog/MailHog
RUN apt-get update -qq
RUN apt-get install -qqy ca-certificates
EXPOSE 1025 8025
ADD MailHog /tmp/
CMD ["./tmp/MailHog"]
ENTRYPOINT ["/go/bin/MailHog"]