<commit_before>FROM python:3.9-slim

# Don't run as root.
RUN useradd --create-home user
USER user
WORKDIR /home/user
ENV PATH /home/user/.local/bin:$PATH

RUN pip install weitersager==0.8-dev

EXPOSE 8080

CMD ["weitersager", "config.toml"]<commit_msg>Do not cache on pip installation<commit_after>FROM python:3.9-slim

# Don't run as root.
RUN useradd --create-home user
USER user
WORKDIR /home/user
ENV PATH /home/user/.local/bin:$PATH

RUN pip install --no-cache-dir weitersager==0.8-dev

EXPOSE 8080

CMD ["weitersager", "config.toml"]
{'fraction_non_alphanumeric': 0.12962962962962962, 'fraction_numerical': 0.02962962962962963, 'mean_word_length': 4.252427184466019, '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': '3156033', 'n_tokens_mistral': 210, 'n_tokens_neox': 199, 'n_words': 57}