Move sleep to docker-compose

This commit is contained in:
andryyy
2017-03-05 12:25:46 +01:00
parent 67bb037b36
commit be8031d8ff
2 changed files with 2 additions and 2 deletions

View File

@@ -21,8 +21,7 @@ ADD antivirus.conf /etc/rspamd/modules.d/antivirus.conf
RUN pip install -U oletools
# Give Nginx/PHP time to restart
CMD /bin/sleep 30; /usr/bin/rspamd -f -u _rspamd -g _rspamd
CMD /usr/bin/rspamd -f -u _rspamd -g _rspamd
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*