<commit_before>FROM python:2.7
MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive
ENV PYTHON /usr/bin/python2.7
ENV LANG en_US.UTF-8
ENV LC_ALL C.UTF-8

RUN apt-get update \
 && apt-get install -qq -y --no-install-recommends \
      libffi-dev \
      libxml2-dev \
      libxslt1-dev \
      libjpeg-dev \
      git \
      zlib1g-dev \
      libssl-dev \
 && rm -rf /var/lib/apt/lists/*


COPY requirements.txt /usr/local/mastermind/requirements.txt

WORKDIR /usr/local/mastermind

RUN pip install -r requirements.txt \
 && rm -rf ~/.cache/pip /tmp/pip_build_root

COPY . /usr/local/mastermind
CMD ["./mastermind.py", "--version"]<commit_msg>Improve docker image strategy<commit_after>FROM python:2.7
MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive
ENV PYTHON /usr/bin/python2.7
ENV LANG en_US.UTF-8
ENV LC_ALL C.UTF-8

RUN apt-get update \
 && apt-get install -qq -y --no-install-recommends \
      libffi-dev \
      libxml2-dev \
      libxslt1-dev \
      libjpeg-dev \
      git \
      zlib1g-dev \
      libssl-dev \
 && rm -rf /var/lib/apt/lists/*


COPY requirements.txt /usr/local/mastermind/requirements.txt

WORKDIR /usr/local/mastermind

RUN pip install -r requirements.txt \
 && rm -rf ~/.cache/pip /tmp/pip_build_root

COPY . /usr/local/mastermind

RUN python setup.py install

CMD ["mastermind", "--version"]
{'fraction_non_alphanumeric': 0.13136531365313653, 'fraction_numerical': 0.013284132841328414, 'mean_word_length': 2.606382978723404, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5639962', 'n_tokens_mistral': 528, 'n_tokens_neox': 507, 'n_words': 114}