comparison 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
comparison
equal deleted inserted replaced
20:703a394b9780 21:0e78c8a4626e
1 ###############################################################
2 # #
3 # Salut à Toi/sat #
4 # This Dockerfile build backend image with media #
5 # Salut à Toi is a multi-frontends multi-purposes XMPP client #
6 # #
7 ###############################################################
8
9 FROM salutatoi/media:latest
10
11 MAINTAINER Goffi <goffi@goffi.org>
12
13 #########
14 # Ports #
15 #########
16
17 # IMAP
18 EXPOSE 10143
19
20 # SMTP
21 EXPOSE 10125
22
23 # FILE TRANSFERT
24 EXPOSE 28915
25
26 ##############
27 # PROSODYCTL #
28 ##############
29
30 RUN chmod 0555 /usr/local/bin/prosodyctl
31
32 ########
33 # MISC #
34 ########
35
36 # /tmp is used in libervia for avatar upload/radiocol
37 VOLUME /tmp
38
39 ##########
40 # LAUNCH #
41 ##########
42
43 ENTRYPOINT ["sat"]
44 # foreground by default
45 CMD ["fg"]