Dockerfile 293 B

1234567891011121314
  1. FROM alpine:edge
  2. RUN apk add --update --no-cache rspamd rspamd-client && \
  3. mkdir -p /run/rspamd && \
  4. chown rspamd:rspamd /run/rspamd
  5. ADD rspamd/initial_train.sh /initial_train.sh
  6. ADD rspamd/run.sh /run.sh
  7. ADD rspamd/rspamd /etc/rspamd
  8. EXPOSE 11333
  9. VOLUME [ "/rspamd" ]
  10. CMD /run.sh