Add expose instructions in Dockerfiles, fixes #392

This commit is contained in:
kaiyou
2018-04-21 14:46:01 +02:00
parent 62d1a0c104
commit d1dbba2d3a
7 changed files with 14 additions and 0 deletions

View File

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

View File

@@ -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

View File

@@ -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

View File

@@ -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