<commit_before># c12e/orientdb

FROM c12e/debian
MAINTAINER CongnitiveScale (<EMAIL>)

# Update repositry source list and install OrientDB dependencies
RUN apt-get update && \
   apt-get install -y supervisor git ant

# supervisord
ADD orientdb_supervisor.conf /etc/supervisor/supervisord.conf

# Build OrientDB cleaning up afterwards
RUN cd && \
    git clone https://github.com/orientechnologies/orientdb.git \
      --single-branch --depth 1 --branch 1.7.9 && \
    cd orientdb && \
    ant clean installg && \
    mv /releases/orientdb-community-* /opt/orientdb && \
    rm -rf /opt/orientdb/databases/* ~/orientdb

# Ports
EXPOSE 2424
EXPOSE 2480

# Set the user to run OrientDB daemon
USER root

# Default command when starting the container
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]<commit_msg>Modified supervisord conf<commit_after>############################################################
# Dockerfile to run an OrientDB (Graph) Container
############################################################

FROM c12e/debian
MAINTAINER CognitiveScale (<EMAIL>)

# Update the default application repository sources list
RUN apt-get update

# Install supervisord
RUN apt-get -y install supervisor
RUN mkdir -p /var/log/supervisor

# Install OrientDB dependencies
# https://www.digitalocean.com/community/tutorials/how-to-install-and-use-orientdb-on-an-ubuntu-12-04-vps
RUN apt-get -y install git ant

ENV ORIENTDB_VERSION 1.7.9

# Build OrientDB cleaning up afterwards
RUN cd && \
    git clone https://github.com/orientechnologies/orientdb.git --single-branch --depth 1 --branch $ORIENTDB_VERSION && \
    cd orientdb && \
    ant clean installg && \
    mv /releases/orientdb-community-* /opt/orientdb && \
    rm -rf /opt/orientdb/databases/* ~/orientdb

# use supervisord to start orientdb
ADD supervisord.conf /etc/supervisor/supervisord.conf

EXPOSE 2424
EXPOSE 2480

# Set the user to run OrientDB daemon
USER root

# Default command when starting the container
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
{'fraction_non_alphanumeric': 0.15886045388701112, 'fraction_numerical': 0.016417189763399325, 'mean_word_length': 3.9927710843373494, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, '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': '849802', 'n_tokens_mistral': 683, 'n_tokens_neox': 625, 'n_words': 185}