Mercurial > sat_docs
diff docker/sat/Dockerfile @ 21:0e78c8a4626e
Added Dockerfiles to create Docker images for easy installation + scripts to manages them. see README for details.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 19 Oct 2014 15:14:40 +0200 |
parents | |
children | b69056368901 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/sat/Dockerfile Sun Oct 19 15:14:40 2014 +0200 @@ -0,0 +1,45 @@ +############################################################### +# # +# Salut à Toi/sat # +# This Dockerfile build backend image with media # +# Salut à Toi is a multi-frontends multi-purposes XMPP client # +# # +############################################################### + +FROM salutatoi/media:latest + +MAINTAINER Goffi <goffi@goffi.org> + +######### +# Ports # +######### + +# IMAP +EXPOSE 10143 + +# SMTP +EXPOSE 10125 + +# FILE TRANSFERT +EXPOSE 28915 + +############## +# PROSODYCTL # +############## + +RUN chmod 0555 /usr/local/bin/prosodyctl + +######## +# MISC # +######## + +# /tmp is used in libervia for avatar upload/radiocol +VOLUME /tmp + +########## +# LAUNCH # +########## + +ENTRYPOINT ["sat"] +# foreground by default +CMD ["fg"]