fix
This commit is contained in:
@ -11,6 +11,10 @@ RUN \
|
|||||||
apt update && \
|
apt update && \
|
||||||
apt install -y cron && \
|
apt install -y cron && \
|
||||||
apt install -y exim4 && \
|
apt install -y exim4 && \
|
||||||
|
apt install -y python3 && \
|
||||||
|
apt install -y python3-pip && \
|
||||||
|
pip3 install requests && \
|
||||||
|
pip3 install Cheetah3 && \
|
||||||
sed -i \
|
sed -i \
|
||||||
-e "s/dc_eximconfig_configtype='local'/dc_eximconfig_configtype='satellite'/" \
|
-e "s/dc_eximconfig_configtype='local'/dc_eximconfig_configtype='satellite'/" \
|
||||||
-e "s/dc_smarthost=''/dc_smarthost='${SMARTHOST}'/" \
|
-e "s/dc_smarthost=''/dc_smarthost='${SMARTHOST}'/" \
|
||||||
@ -24,6 +28,8 @@ RUN \
|
|||||||
USER 1000:1000
|
USER 1000:1000
|
||||||
WORKDIR ${APP_DIR}
|
WORKDIR ${APP_DIR}
|
||||||
VOLUME /etc/cron.d
|
VOLUME /etc/cron.d
|
||||||
|
VOLUME ${APP_DIR}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user