view docker/sat/Dockerfile @ 99:15e317bb602f

docker (libervia_cont): removed instructions about commiting sat_data, as a volume container will not commit data (see https://github.com/docker/docker/issues/7583)
author Goffi <goffi@goffi.org>
date Fri, 26 Feb 2016 17:29:34 +0100
parents 0e78c8a4626e
children b69056368901
line wrap: on
line source

###############################################################
#                                                             #
#                       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"]