<commit_before>FROM alpine:edge

RUN apk add --no-cache python py-jinja2 rspamd rspamd-controller rspamd-proxy rspamd-fuzzy ca-certificates py-pip \
 && pip install --upgrade pip \
 && pip install tenacity

RUN mkdir /run/rspamd

COPY conf/ /conf
COPY start.py /start.py

EXPOSE 11332/tcp 11334/tcp

VOLUME ["/var/lib/rspamd"]
<commit_msg>Declare fuzzy_worker port 11335 in EXPOSE section<commit_after>FROM alpine:edge

RUN apk add --no-cache python py-jinja2 rspamd rspamd-controller rspamd-proxy rspamd-fuzzy ca-certificates py-pip \
 && pip install --upgrade pip \
 && pip install tenacity

RUN mkdir /run/rspamd

COPY conf/ /conf
COPY start.py /start.py

EXPOSE 11332/tcp 11334/tcp 11335/tcp

VOLUME ["/var/lib/rspamd"]

{'fraction_non_alphanumeric': 0.10359116022099447, 'fraction_numerical': 0.04419889502762431, 'mean_word_length': 3.801324503311258, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7430498', 'n_tokens_mistral': 302, 'n_tokens_neox': 265, 'n_words': 77}