<commit_before>FROM dockerfile/ubuntu
MAINTAINER binux <<EMAIL>>

# install python
RUN apt-get update
RUN apt-get install -y python python-dev python-distribute python-pip

# install binary depends
RUN apt-get install -y libcurl4-openssl-dev libxml2-dev libxslt1-dev

# install requirements
ADD requirements.txt /opt/pyspider/requirements.txt
RUN pip install --allow-all-external -r /opt/pyspider/requirements.txt

# add all repo
ADD ./ /opt/pyspider

# run test
WORKDIR /opt/pyspider
RUN IGNORE_MYSQL=1 IGNORE_RABBITMQ=1 IGNORE_MONGODB=1 ./runtest.sh

VOLUME ["/opt/pyspider/data"]

ENTRYPOINT ["python", "run.py"]

EXPOSE 5000
EXPOSE 23333
EXPOSE 24444
<commit_msg>fix docker<commit_after>FROM dockerfile/ubuntu
MAINTAINER binux <<EMAIL>>

# install python
RUN apt-get update
RUN apt-get install -y python python-dev python-distribute python-pip

# install binary depends
RUN apt-get install -y libcurl4-openssl-dev libxml2-dev libxslt1-dev

# install requirements
ADD requirements.txt /opt/pyspider/requirements.txt
RUN pip install --allow-all-external -r /opt/pyspider/requirements.txt

# add all repo
ADD ./ /opt/pyspider

# run test
WORKDIR /opt/pyspider
RUN IGNORE_MYSQL=1 IGNORE_RABBITMQ=1 IGNORE_MONGODB=1 ./runtest.py

VOLUME ["/opt/pyspider/data"]

ENTRYPOINT ["python", "run.py"]

EXPOSE 5000
EXPOSE 23333
EXPOSE 24444

{'fraction_non_alphanumeric': 0.09917355371900827, 'fraction_numerical': 0.03005259203606311, 'mean_word_length': 4.5966386554621845, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '39846', 'n_tokens_mistral': 533, 'n_tokens_neox': 487, 'n_words': 129}