<commit_before># Neoclassical Habitat
#
# VERSION              0.1.0

FROM philcollins/aurora-centos7

# Ensures that the codebase is homed at /neohabitat.
ADD . /neohabitat

# Installs base build dependencies.
RUN yum -y install \
  cronie \
  curl \
  git \
  java-1.8.0-openjdk \
  make \
  mariadb \
  tar \
  wget \
  which && \
  yum clean all

# Installs the Apache Maven Yum repository.
RUN wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo

# Installs the Nodesource Yum repository.
RUN curl -sL https://rpm.nodesource.com/setup_6.x | bash -

# Installs MongoDB Yum repository.
RUN curl -sL https://goo.gl/CxNbGr > /etc/yum.repos.d/mongodb-org.3.4.repo

# Installs Node and MongoDB.
RUN yum -y install \
  apache-maven \
  mongodb-org \
  nodejs && \
  yum clean all

# Installs Node dependencies.
RUN npm install -g supervisor

# Adds a container log tailing utility.
RUN printf '#!/bin/bash\ncat /proc/$(pgrep java)/fd/{1,2} /proc/$(pgrep -f node)/fd/{1,2}' > /usr/bin/habitail && chmod a+x /usr/bin/habitail

# Adds a cronjob to update the Hall of Records.
RUN printf "*/10 * * * * /bin/bash -c 'cd /neohabitat/db && make book'" > /etc/cron.d/hall-of-records

# Builds the Neohabitat project.
WORKDIR /neohabitat
RUN rm -rf lib && npm install && ./build

ENTRYPOINT /neohabitat/run
<commit_msg>Fixing cronjob<commit_after># Neoclassical Habitat
#
# VERSION              0.1.0

FROM philcollins/aurora-centos7

# Ensures that the codebase is homed at /neohabitat.
ADD . /neohabitat

# Installs base build dependencies.
RUN yum -y install \
  cronie \
  curl \
  git \
  java-1.8.0-openjdk \
  make \
  mariadb \
  tar \
  wget \
  which && \
  yum clean all

# Installs the Apache Maven Yum repository.
RUN wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo

# Installs the Nodesource Yum repository.
RUN curl -sL https://rpm.nodesource.com/setup_6.x | bash -

# Installs MongoDB Yum repository.
RUN curl -sL https://goo.gl/CxNbGr > /etc/yum.repos.d/mongodb-org.3.4.repo

# Installs Node and MongoDB.
RUN yum -y install \
  apache-maven \
  mongodb-org \
  nodejs && \
  yum clean all

# Installs Node dependencies.
RUN npm install -g supervisor

# Adds a container log tailing utility.
RUN printf '#!/bin/bash\ncat /proc/$(pgrep java)/fd/{1,2} /proc/$(pgrep -f node)/fd/{1,2}' > /usr/bin/habitail && chmod a+x /usr/bin/habitail

# Adds a cronjob to update the Hall of Records.
RUN printf "*/10 * * * * root /bin/bash -c 'cd /neohabitat/db && make book'" > /etc/cron.d/hall-of-records

# Builds the Neohabitat project.
WORKDIR /neohabitat
RUN rm -rf lib && npm install && ./build

ENTRYPOINT /neohabitat/run

{'fraction_non_alphanumeric': 0.1299638989169675, 'fraction_numerical': 0.011552346570397111, 'mean_word_length': 2.886395511921459, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '6359096', 'n_tokens_mistral': 1110, 'n_tokens_neox': 1064, 'n_words': 284}