<commit_before>FROM registry.ipol.im/ipol-debian

COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt && rm requirements.txt

# needed since the DR raises exception when this is not defined
# this is probably a bug
ENV VIRTUAL_ENV=

# to build:
# DOCKER_BUILDKIT=1 docker build ipol_demo/modules/demorunner -t registry.ipol.im/ipol-debian-demorunner
# docker push<commit_msg>[demorunner] fix Dockerfile for demos writing to ~/.cache<commit_after>FROM registry.ipol.im/ipol-debian

COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt && rm requirements.txt

# needed since the DR raises exception when this is not defined
# this is probably a bug
ENV VIRTUAL_ENV=

# give all permissions to /home/ipol in case a demo has to use ~/.cache or something else
RUN mkdir -p /home/ipol && chmod -R 777 /home/ipol

# to build:
# DOCKER_BUILDKIT=1 docker build ipol_demo/modules/demorunner -t registry.ipol.im/ipol-debian-demorunner
# docker push
{'fraction_non_alphanumeric': 0.08841463414634146, 'fraction_numerical': 0.007113821138211382, 'mean_word_length': 4.267379679144385, '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': '4655183', 'n_tokens_mistral': 338, 'n_tokens_neox': 320, 'n_words': 110}