This commit is contained in:
2021-02-22 00:30:16 +01:00
parent 1589d87b38
commit fc478c824d

View File

@ -11,6 +11,10 @@ RUN \
apt update && \
apt install -y cron && \
apt install -y exim4 && \
apt install -y python3 && \
apt install -y python3-pip && \
pip3 install requests && \
pip3 install Cheetah3 && \
sed -i \
-e "s/dc_eximconfig_configtype='local'/dc_eximconfig_configtype='satellite'/" \
-e "s/dc_smarthost=''/dc_smarthost='${SMARTHOST}'/" \
@ -24,6 +28,8 @@ RUN \
USER 1000:1000
WORKDIR ${APP_DIR}
VOLUME /etc/cron.d
VOLUME ${APP_DIR}