<commit_before>FROM centos:7

# Install node.js
RUN curl -sL https://rpm.nodesource.com/setup_5.x | bash -
RUN yum install -y nodejs gcc-c++ make

# Copy the app to the container
RUN mkdir -p /var/www/relevance/evaluate
COPY . /var/www/relevance/evaluate
RUN cd /var/www/relevance/evaluate && npm install

# Run the app<commit_msg>Fix the rpm inspector on the evaluator<commit_after>FROM centos:7

# Install node.js
RUN curl -sL https://rpm.nodesource.com/setup_5.x | bash -
RUN yum install -y nodejs gcc-c++ make

# The qna binary requires the __BESData directory to exist for the rpm inspector
# to work.
RUN mkdir -p /var/opt/BESClient/__BESData/__Global/

# Copy the app to the container
RUN mkdir -p /var/www/relevance/evaluate
COPY . /var/www/relevance/evaluate
RUN cd /var/www/relevance/evaluate && npm install

# Run the app
{'fraction_non_alphanumeric': 0.10336538461538461, 'fraction_numerical': 0.004807692307692308, 'mean_word_length': 3.7062146892655368, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, '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': '352726', 'n_tokens_mistral': 310, 'n_tokens_neox': 283, 'n_words': 96}