Add expose instructions in Dockerfiles, fixes #392

master
kaiyou 7 years ago
parent 62d1a0c104
commit d1dbba2d3a

@ -15,4 +15,6 @@ COPY start.sh /start.sh
RUN pybabel compile -d mailu/translations
EXPOSE 80/tcp
CMD ["/start.sh"]

@ -9,4 +9,6 @@ COPY conf /conf
COPY sieve /var/lib/dovecot
COPY start.py /start.py
EXPOSE 110/tcp 143/tcp 993/tcp 4190/tcp 2525/tcp
CMD /start.py

@ -5,4 +5,6 @@ RUN apk add --no-cache nginx nginx-mod-mail python py-jinja2 certbot openssl
COPY conf /conf
COPY *.py /
EXPOSE 80/tcp 443/tcp 110/tcp 143/tcp 465/tcp 587/tcp 993/tcp 995/tcp 25/tcp 10025/tcp 10143/tcp
CMD /start.py

@ -5,4 +5,6 @@ RUN apk add --no-cache postfix postfix-sqlite postfix-pcre rsyslog python py-jin
COPY conf /conf
COPY start.py /start.py
EXPOSE 25/tcp 10025/tcp
CMD /start.py

@ -5,4 +5,6 @@ RUN apk add --no-cache clamav rsyslog wget clamav-libunrar
COPY conf /etc/clamav
COPY start.sh /start.sh
EXPOSE 3310/tcp
CMD ["/start.sh"]

@ -5,4 +5,6 @@ RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/re
COPY radicale.conf /radicale.conf
EXPOSE 5232/tcp
CMD radicale -f -S -C /radicale.conf

@ -7,4 +7,6 @@ RUN mkdir /run/rspamd
COPY conf/ /conf
COPY start.py /start.py
EXPOSE 11332/tcp 11334/tcp
CMD /start.py

Loading…
Cancel
Save