BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr
Optimize Core containers
aapanel.com84e56f5e04cb
diff --git a/Dockerfiles/core/Dockerfile b/Dockerfiles/core/Dockerfileindex 5c73117e..d04c18d7 100644--- a/Dockerfiles/core/Dockerfile+++ b/Dockerfiles/core/Dockerfile@@ -14,7 +14,6 @@ COPY core/manifest /opt/billionmail/core/manifestCOPY core/languages /opt/billionmail/core/languagesCOPY core/public /opt/billionmail/core/publicCOPY core/resource /opt/billionmail/core/resource-COPY core/template /opt/billionmail/core/template# Copy file# COPY repositories /etc/apk/repositoriesdiff --git a/Dockerfiles/core/core.sh b/Dockerfiles/core/core.shindex b991e3df..db64aabe 100644--- a/Dockerfiles/core/core.sh+++ b/Dockerfiles/core/core.sh@@ -55,6 +55,10 @@ fi# ficp -rf /opt/billionmail/conf/core/fail2ban_init/filter.d/*.conf /etc/fail2ban/filter.d/+if [ ! -d "/opt/billionmail/core/template/" ]; then+ mkdir /opt/billionmail/core/template+fi+if [ ! -d "/opt/billionmail/core/logs/" ]; thenmkdir /opt/billionmail/core/logsfi