mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 22:34:04 +00:00
commit
2504477e9c
1 changed files with 4 additions and 8 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,11 +1,7 @@
|
||||||
FROM ubuntu:14.04
|
FROM golang:1.4
|
||||||
|
|
||||||
EXPOSE 1025
|
RUN go get github.com/mailhog/MailHog
|
||||||
EXPOSE 8025
|
|
||||||
|
|
||||||
RUN apt-get update -qq
|
EXPOSE 1025 8025
|
||||||
RUN apt-get install -qqy ca-certificates
|
|
||||||
|
|
||||||
ADD MailHog /tmp/
|
ENTRYPOINT ["/go/bin/MailHog"]
|
||||||
|
|
||||||
CMD ["./tmp/MailHog"]
|
|
||||||
|
|
Loading…
Reference in a new issue