<commit_before># Installation:
# docker build -t cloogle . 
#
# Usage:
# docker run \
#   -d \
#   --net=host \
#   --name=cloogle \
#   -v /path/to/cloogle/cloogle.log:/usr/src/cloogle/cloogle.log \
#   cloogle

FROM camilstaps/clean:2.4-itasks

RUN apt-get update && apt-get install -y subversion ca-certificates

COPY . /usr/src/cloogle
WORKDIR /usr/src/cloogle

RUN svn checkout https://svn.cs.ru.nl/repos/SoccerFun/src /opt/clean/lib/SoccerFun

RUN make

EXPOSE 31215

ENTRYPOINT "./serve"
CMD []
<commit_msg>Minor improvement to backend Dockerfile cache use<commit_after># Installation:
# docker build -t cloogle . 
#
# Usage:
# docker run \
#   -d \
#   --net=host \
#   --name=cloogle \
#   -v /path/to/cloogle/cloogle.log:/usr/src/cloogle/cloogle.log \
#   cloogle

FROM camilstaps/clean:2.4-itasks

RUN apt-get update && apt-get install -y subversion ca-certificates

RUN svn checkout https://svn.cs.ru.nl/repos/SoccerFun/src /opt/clean/lib/SoccerFun

COPY . /usr/src/cloogle
WORKDIR /usr/src/cloogle

RUN make distclean && make

EXPOSE 31215

ENTRYPOINT "./serve"
CMD []

{'fraction_non_alphanumeric': 0.14417744916820702, 'fraction_numerical': 0.012939001848428836, 'mean_word_length': 3.0714285714285716, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6673665', 'n_tokens_mistral': 460, 'n_tokens_neox': 416, 'n_words': 90}