mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-15 09:00:26 +08:00
[Dockerfiles] Use COPY instead of ADD
This commit is contained in:
parent
9762176810
commit
a06bac6739
@ -40,5 +40,5 @@ VOLUME ["/var/lib/clamav"]
|
||||
EXPOSE 3310
|
||||
|
||||
# av daemon bootstrapping
|
||||
ADD bootstrap.sh /
|
||||
COPY bootstrap.sh /
|
||||
CMD ["/bootstrap.sh"]
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user