Mercurial > sat_docs
comparison docker/sat_nomedia/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_nomedia # | |
4 # This Dockerfile build a backend image without media # | |
5 # Salut à Toi is a multi-frontends multi-purposes XMPP client # | |
6 # # | |
7 ############################################################### | |
8 | |
9 FROM salutatoi/base: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 # LAUNCH # | |
34 ########## | |
35 | |
36 ENTRYPOINT ["sat"] | |
37 # foreground by default | |
38 CMD ["fg"] |