<commit_before>FROM centos:7

LABEL name="DCI API" version="0.0.3"
LABEL maintainer="DCI Team <<EMAIL>>"

ENV LANG en_US.UTF-8

WORKDIR /opt/dci-control-server
COPY requirements.txt /opt/dci-control-server/

RUN yum -y install epel-release && \
    yum -y install gcc git zeromq-devel \
    python python2-devel python2-pip python2-setuptools \
    python36 python36-devel python36-pip python36-setuptools && \
    yum clean all && \
    pip install --no-cache-dir -U pip && \
    pip install --no-cache-dir -U tox && \
    pip install --no-cache-dir -r requirements.txt

COPY tests/data/ca.key tests/data/ca.crt /etc/ssl/repo/

ENV PYTHONPATH /opt/dci-control-server
ENV DISABLE_DB_START 1

EXPOSE 5000

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

CMD ["python", "/opt/dci-control-server/bin/dci-runtestserver"]<commit_msg>Pin pip to <21.0<commit_after>FROM centos:7

LABEL name="DCI API" version="0.0.3"
LABEL maintainer="DCI Team <<EMAIL>>"

ENV LANG en_US.UTF-8

WORKDIR /opt/dci-control-server
COPY requirements.txt /opt/dci-control-server/

RUN yum -y install epel-release && \
    yum -y install gcc git zeromq-devel \
    python python2-devel python2-pip python2-setuptools \
    python36 python36-devel python36-pip python36-setuptools && \
    yum clean all && \
    pip install --no-cache-dir -U "pip<21.0" && \
    pip install --no-cache-dir -U tox && \
    pip install --no-cache-dir -r requirements.txt

COPY tests/data/ca.key tests/data/ca.crt /etc/ssl/repo/

ENV PYTHONPATH /opt/dci-control-server
ENV DISABLE_DB_START 1

EXPOSE 5000

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

CMD ["python", "/opt/dci-control-server/bin/dci-runtestserver"]
{'fraction_non_alphanumeric': 0.13411764705882354, 'fraction_numerical': 0.02823529411764706, 'mean_word_length': 3.2738693467336684, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '3976544', 'n_tokens_mistral': 668, 'n_tokens_neox': 632, 'n_words': 152}