# syntax = docker/dockerfile:1 FROM ubuntu:latest # LABEL about the custom image LABEL description="MyveMail" # Disable Prompt During Packages Installation ARG DEBIAN_FRONTEND=noninteractive # Env files (differs between distros) ENV MYVEMAIL_NGINX_USERGROUP=www-data ENV MYVEMAIL_OPENDKIM_CONF=/etc/opendkim.conf ENV MYVEMAIL_OPENDMARC_CONF=/etc/opendmarc.conf # Copy required files folders ADD run/bin /usr/local/bin/ ADD run/docker-entrypoint /docker-entrypoint/ COPY run/installer-ubuntu.sh /tmp/installer.sh # Update Ubuntu Software repository and install requisites RUN /tmp/installer.sh \ && rm /tmp/installer.sh # Expose ports EXPOSE 25 EXPOSE 80 EXPOSE 587 EXPOSE 143 993 # Entrypoint hd-wallet-derive script CMD ["/docker-entrypoint/entrypoint.sh"]