Fix Rspamd

master
andryyy 2017-03-03 23:45:26 +01:00
parent f6c383431e
commit 24f3bf009c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ ADD wait-for-it.sh /wait-for-it.sh
RUN pip install -U oletools RUN pip install -U oletools
RUN timeout 30 /usr/bin/rspamd -f -u _rspamd -g _rspamd; exit 0 RUN timeout 30 /usr/bin/rspamd -f -u _rspamd -g _rspamd; exit 0
RUN chmod +x /usr/local/bin/docker-entrypoint.sh RUN chmod +x /wait-for-it.sh
CMD ["/wait-for-it.sh", "nginx:8081", "--", "/usr/bin/rspamd", "-f", "-u", "_rspamd", "-g", "_rspamd"] CMD ["/wait-for-it.sh", "nginx:8081", "--", "/usr/bin/rspamd", "-f", "-u", "_rspamd", "-g", "_rspamd"]