changes
This commit is contained in:
10
Dockerfile
10
Dockerfile
@ -20,16 +20,16 @@ RUN \
|
||||
-e "s/dc_smarthost=''/dc_smarthost='${SMARTHOST}'/" \
|
||||
/etc/exim4/update-exim4.conf.conf && \
|
||||
env DEBIAN_FRONTEND=noninteractive dpkg-reconfigure -f debconf exim4-config && \
|
||||
echo "root: ${ADMINUSER}" >> /etc/aliases && \
|
||||
newaliases && \
|
||||
mkdir -p ${APP_DIR} && \
|
||||
useradd -d ${APP_DIR} -u 1000 user
|
||||
useradd -d ${APP_DIR} -u 1000 user && \
|
||||
echo "root: ${ADMINUSER}" >> /etc/aliases && \
|
||||
echo "user: ${ADMINUSER}" >> /etc/aliases && \
|
||||
newaliases
|
||||
|
||||
USER 1000:1000
|
||||
WORKDIR ${APP_DIR}
|
||||
VOLUME /etc/cron.d
|
||||
VOLUME ${APP_DIR}
|
||||
|
||||
CMD [ "/usr/sbin/cron", "-f", "-L /dev/stdout" ]
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user