From 855a7a35c89a6d5b759aeadd7bc59488e9c6ded1 Mon Sep 17 00:00:00 2001 From: Frederick Ding Date: Thu, 30 Jul 2015 23:44:00 -0400 Subject: [PATCH] Fix syntax in Dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d9e564..0738d35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,17 +2,16 @@ FROM ubuntu:latest MAINTAINER Ding Corporation +VOLUME /var/mail /config /output + # install packages RUN apt-get update \ && apt-get install -y fetchmail maildrop mpack \ && apt-get clean && rm -fr /var/lib/apt/lists/* -VOLUME /var/mail -VOLUME /config - RUN maildirmake /var/mail/working \ && echo "to /var/mail/working" > /root/.mailfilter -TOUCH /var/mail/save-attachments.log +RUN touch /var/mail/save-attachments.log ADD save-attachments.crontab /etc/cron.d/save-attachments ADD save-attachments.sh /opt/save-attachments.sh