<commit_before>FROM centos
MAINTAINER <NAME>
RUN yum update -y
RUN yum install wget which htop nano tar git -y
RUN wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
RUN wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
RUN rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
RUN yum clean all

#RUN curl -sSL https://get.rvm.io | bash -s stable
#RUN source /etc/profile.d/rvm.sh
#RUN rvm install 1.9.3
#RUN rvm use 1.9.3 --default

#RUN yum install httpd php php-devel nginx php-fpm -y


#RUN git clone https://github.com/paulhudson/puppet-drupalstack.git && ~/puppet-drupalstack/lib/deploy.sh

#VOLUME ["/Users/huders2000/Documents/sites/hudsondigital/html_site"]

COPY site /var/www/vhosts/mysite.com/
COPY httpd.conf /etc/httpd/httpd.conf

# Perusio Nginx
RUN git clone https://github.com/paulhudson/drupal-with-nginx.git drupal-with-nginx
RUN cp -prv ./drupal-with-nginx /etc/nginx

# Perusio PHP-FPM
RUN mkdir /etc/php5
RUN mkdir /etc/php5/fpm
RUN git clone git://github.com/perusio/php-fpm-example-config php-fpm-example-config
RUN cp -pv ./php-fpm-example-config/fpm/php5-fpm.conf /etc/php5/fpm
RUN cp -rv ./php-fpm-example-config/fpm/pool.d /etc/php5/fpm
RUN service php-fpm restart

#RUN git clone https://github.com/perusio/nginx_ensite.git nginx_ensite
#RUN cp ./nginx_ensite/nginx_* /usr/sbin

#RUN nginx_ensite mysite.com

#CMD nginx_ensite mysite.com

RUN nginx -t
RUN service nginx restart

EXPOSE 80
EXPOSE 443
EXPOSE 8080
EXPOSE 8081
EXPOSE 8082
<commit_msg>=include nignx ensite<commit_after>FROM centos
MAINTAINER <NAME>
RUN yum update -y
RUN yum install wget which htop nano tar git -y
RUN wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
RUN wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
RUN rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
RUN yum clean all

#RUN curl -sSL https://get.rvm.io | bash -s stable
#RUN source /etc/profile.d/rvm.sh
#RUN rvm install 1.9.3
#RUN rvm use 1.9.3 --default

#RUN yum install httpd php php-devel nginx php-fpm -y


#RUN git clone https://github.com/paulhudson/puppet-drupalstack.git && ~/puppet-drupalstack/lib/deploy.sh

#VOLUME ["/Users/huders2000/Documents/sites/hudsondigital/html_site"]

COPY site /var/www/vhosts/mysite.com/
COPY httpd.conf /etc/httpd/httpd.conf

# Perusio Nginx
RUN git clone https://github.com/paulhudson/drupal-with-nginx.git drupal-with-nginx
RUN cp -prv ./drupal-with-nginx /etc/nginx

# Perusio PHP-FPM
RUN mkdir /etc/php5
RUN mkdir /etc/php5/fpm
RUN git clone git://github.com/perusio/php-fpm-example-config php-fpm-example-config
RUN cp -pv ./php-fpm-example-config/fpm/php5-fpm.conf /etc/php5/fpm
RUN cp -rv ./php-fpm-example-config/fpm/pool.d /etc/php5/fpm
RUN service php-fpm restart

RUN git clone https://github.com/perusio/nginx_ensite.git nginx_ensite
RUN cp ./nginx_ensite/nginx_* /usr/sbin

RUN nginx_ensite mysite.com

#CMD nginx_ensite mysite.com

RUN nginx -t
RUN service nginx restart

EXPOSE 80
EXPOSE 443
EXPOSE 8080
EXPOSE 8081
EXPOSE 8082

{'fraction_non_alphanumeric': 0.1251234771155746, 'fraction_numerical': 0.02765887388870596, 'mean_word_length': 3.769230769230769, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, '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': '6660477', 'n_tokens_mistral': 1353, 'n_tokens_neox': 1246, 'n_words': 292}