[Dockerfiles] Use COPY instead of ADD

master
Michael Käufl 2017-03-07 15:44:37 +01:00
parent 9762176810
commit a06bac6739
2 changed files with 3 additions and 3 deletions

View File

@ -40,5 +40,5 @@ VOLUME ["/var/lib/clamav"]
EXPOSE 3310
# av daemon bootstrapping
ADD bootstrap.sh /
COPY bootstrap.sh /
CMD ["/bootstrap.sh"]

View File

@ -16,8 +16,8 @@ RUN apt-key adv --fetch-keys http://rspamd.com/apt-stable/gpg.key \
RUN echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspamd.conf.local
ADD settings.conf /etc/rspamd/modules.d/settings.conf
ADD antivirus.conf /etc/rspamd/modules.d/antivirus.conf
COPY settings.conf /etc/rspamd/modules.d/settings.conf
COPY antivirus.conf /etc/rspamd/modules.d/antivirus.conf
RUN pip install -U oletools