<commit_before>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

ENV XMR_VERSION 0.1

RUN apt-get update && apt-get install -y \
  software-properties-common

RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:chris-lea/zeromq
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:alexharrington/php-zmq

# Install apache, PHP, and supplimentary programs.
RUN apt-get update && apt-get install -y \
  curl \
  php5-cli \
  php5-zmq

EXPOSE 9505
EXPOSE 50001

# Copy up the various provisioning scripting
COPY entrypoint.sh /entrypoint.sh
RUN mkdir -p /root/xmr && mkdir -p /opt/xmr

# Download and extract XMR into a convenient folder
ADD https://github.com/xibosignage/xibo-xmr/archive/${XMR_VERSION}.tar.gz /root/xmr
RUN tar --strip=2 -xzf /root/xmr/${XMR_VERSION}.tar.gz -C /opt/xmr --wildcards \*/bin/xmr.phar

RUN chown -R nobody /opt/xmr && chmod 700 /entrypoint.sh

# Start XMR
CMD ["/entrypoint.sh"]<commit_msg>Expose ports on a single line<commit_after>FROM ubuntu:14.04
MAINTAINER <NAME> <<EMAIL>>

ENV XMR_VERSION 0.1

RUN apt-get update && apt-get install -y \
  software-properties-common

RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:chris-lea/zeromq
RUN DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:alexharrington/php-zmq

# Install apache, PHP, and supplimentary programs.
RUN apt-get update && apt-get install -y \
  curl \
  php5-cli \
  php5-zmq

EXPOSE 9505 50001

# Copy up the various provisioning scripting
COPY entrypoint.sh /entrypoint.sh
RUN mkdir -p /root/xmr && mkdir -p /opt/xmr

# Download and extract XMR into a convenient folder
ADD https://github.com/xibosignage/xibo-xmr/archive/${XMR_VERSION}.tar.gz /root/xmr
RUN tar --strip=2 -xzf /root/xmr/${XMR_VERSION}.tar.gz -C /opt/xmr --wildcards \*/bin/xmr.phar

RUN chown -R nobody /opt/xmr && chmod 700 /entrypoint.sh

# Start XMR
CMD ["/entrypoint.sh"]
{'fraction_non_alphanumeric': 0.11916264090177134, 'fraction_numerical': 0.02254428341384863, 'mean_word_length': 3.8923884514435696, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '207325', 'n_tokens_mistral': 744, 'n_tokens_neox': 695, 'n_words': 183}