<commit_before># phabricator image 
#   docker build -t elarasu/weave-phabricator .
#
FROM elarasu/weave-supervisord
MAINTAINER <EMAIL>

# Install requirements
RUN  apt-get update  \
  && apt-get upgrade -y \
  && apt-get install -yq cron lsof git sendmail nodejs-legacy npm python-pygments \
       nginx php5 php5-fpm php5-mcrypt php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli php5-json php5-ldap python-Pygments nodejs sudo --no-install-recommends \
  && npm install ws \
  && rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*

# Add users
RUN echo "git:x:2000:2000:user for phabricator ssh:/srv/phabricator:/bin/bash" >> /etc/passwd
RUN echo "phab-daemon:x:2001:2000:user for phabricator daemons:/srv/phabricator:/bin/bash" >> /etc/passwd
RUN echo "wwwgrp-phabricator:!:2000:nginx" >> /etc/group

# Set up the Phabricator code base
RUN mkdir /srv/phabricator
RUN chown git:wwwgrp-phabricator /srv/phabricator
USER git
WORKDIR /srv/phabricator
RUN git clone --depth 1 git://github.com/facebook/libphutil.git
RUN git clone --depth 1 git://github.com/facebook/arcanist.git
RUN git clone --depth 1 git://github.com/facebook/phabricator.git
USER root
WORKDIR /

# Expose Nginx on port 80 and 443
EXPOSE 80
EXPOSE 443

# Expose Aphlict (notification server) on 22280<commit_msg>added ssh<commit_after># phabricator image 
#   docker build -t elarasu/weave-phabricator .
#
FROM elarasu/weave-supervisord
MAINTAINER <EMAIL>

# Install requirements
RUN  apt-get update  \
  && apt-get upgrade -y \
  && apt-get install -yq ssh cron lsof git sendmail nodejs-legacy npm python-pygments \
       nginx php5 php5-fpm php5-mcrypt php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli php5-json php5-ldap python-Pygments nodejs sudo --no-install-recommends \
  && npm install ws \
  && rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*

# Add users
RUN echo "git:x:2000:2000:user for phabricator ssh:/srv/phabricator:/bin/bash" >> /etc/passwd
RUN echo "phab-daemon:x:2001:2000:user for phabricator daemons:/srv/phabricator:/bin/bash" >> /etc/passwd
RUN echo "wwwgrp-phabricator:!:2000:nginx" >> /etc/group

# Set up the Phabricator code base
RUN mkdir /srv/phabricator
RUN chown git:wwwgrp-phabricator /srv/phabricator
USER git
WORKDIR /srv/phabricator
RUN git clone --depth 1 git://github.com/facebook/libphutil.git
RUN git clone --depth 1 git://github.com/facebook/arcanist.git
RUN git clone --depth 1 git://github.com/facebook/phabricator.git
USER root
WORKDIR /

# Expose Nginx on port 80 and 443
EXPOSE 80
EXPOSE 443

# Expose Aphlict (notification server) on 22280
{'fraction_non_alphanumeric': 0.1171875, 'fraction_numerical': 0.0375, 'mean_word_length': 3.8048780487804876, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '1583114', 'n_tokens_mistral': 1085, 'n_tokens_neox': 940, 'n_words': 257}