<commit_before>FROM centos
MAINTAINER <EMAIL>

EXPOSE 8000

ENV PATH="/usr/pgsql-9.6/bin:$PATH"
COPY api/ /semitki

WORKDIR /semitki

RUN yum -y update ; \
  yum -y install epel-release ; \
  yum -y install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm ; \
  yum -y groupinstall 'Development Tools' ; \
  yum -y install python-pip postgresql96 postgresql96-contrib postgresql96-devel ; \
  pip install virtualenv ; \
  virtualenv ENV ; \
  ENV/bin/pip install -r requirements.txt

#ENTRYPOINT /semitki/api/ENV/bin/python

#CMD ["manage.py", "runserver", "0.0.0.0:8000"]<commit_msg>Docker dependencies<commit_after>FROM centos
MAINTAINER <EMAIL>

EXPOSE 8000

ENV PATH="/usr/pgsql-9.6/bin:$PATH"
COPY api/ /semitki

WORKDIR /semitki

RUN yum -y update ; \
  yum -y install epel-release ; \
  yum -y install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm ; \
  yum -y groupinstall 'Development Tools' ; \
  yum -y install python-pip postgresql96 postgresql96-contrib postgresql96-devel python-devel ; \
  pip install virtualenv ; \
  virtualenv ENV ; \
  ENV/bin/pip install -r requirements.txt

#ENTRYPOINT /semitki/api/ENV/bin/python

#CMD ["manage.py", "runserver", "0.0.0.0:8000"]
{'fraction_non_alphanumeric': 0.139984532095901, 'fraction_numerical': 0.04949729311678268, 'mean_word_length': 3.4930555555555554, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '588200', 'n_tokens_mistral': 571, 'n_tokens_neox': 513, 'n_words': 105}