view docker/sat_nomedia/Dockerfile @ 83:8dd32aa49614

docker: pid files are put in /tmp to avoid conflict when restarting a container
author Goffi <goffi@goffi.org>
date Thu, 18 Feb 2016 17:19:50 +0100
parents 0e78c8a4626e
children b69056368901
line wrap: on
line source

###############################################################
#                                                             #
#                   Salut à Toi/sat_nomedia                   #
#     This Dockerfile build a backend image without media     #
# Salut à Toi is a multi-frontends multi-purposes XMPP client #
#                                                             #
###############################################################

FROM salutatoi/base: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

##########
# LAUNCH #
##########

ENTRYPOINT ["sat"]
# foreground by default
CMD ["fg"]