<commit_before>FROM phusion/passenger-ruby21:0.9.15

#   Set correct environment variables.
ENV HOME /root

#   Initialize database as part of container startup
RUN mkdir -p /etc/my_init.d
ADD deploy/boot/initdb.sh /etc/my_init.d/initdb.sh
RUN chmod +x /etc/my_init.d/initdb.sh

#   Use baseimage-docker's init process.
CMD ["/sbin/my_init"]

#   Build system and git.
#   NOTE  - passenger docker documentation incorrectly lists "pb_build" as the build directory
#RUN /build/utilities.sh
#   Ruby support.
#RUN /build/ruby2.1.sh
#   Python support.
#RUN /build/python.sh
#   Node.js and Meteor support.
#RUN /build/nodejs.sh

#   Expose Nginx HTTP service
EXPOSE 80

#   Enable nginx 
RUN rm -f /etc/service/nginx/down

#   Remove default site
RUN rm /etc/nginx/sites-available/default

#   Configure nginx<commit_msg>Revert "Re-enabled db seed"<commit_after>FROM phusion/passenger-ruby21:0.9.15

#   Set correct environment variables.
ENV HOME /root

#   Initialize database as part of container startup
RUN mkdir -p /etc/my_init.d
#ADD deploy/boot/initdb.sh /etc/my_init.d/initdb.sh
#RUN chmod +x /etc/my_init.d/initdb.sh

#   Use baseimage-docker's init process.
CMD ["/sbin/my_init"]

#   Build system and git.
#   NOTE  - passenger docker documentation incorrectly lists "pb_build" as the build directory
#RUN /build/utilities.sh
#   Ruby support.
#RUN /build/ruby2.1.sh
#   Python support.
#RUN /build/python.sh
#   Node.js and Meteor support.
#RUN /build/nodejs.sh

#   Expose Nginx HTTP service
EXPOSE 80

#   Enable nginx 
RUN rm -f /etc/service/nginx/down

#   Remove default site
RUN rm /etc/nginx/sites-available/default

#   Configure nginx
{'fraction_non_alphanumeric': 0.10459492140266022, 'fraction_numerical': 0.012091898428053204, 'mean_word_length': 3.389920424403183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '2785580', 'n_tokens_mistral': 616, 'n_tokens_neox': 585, 'n_words': 170}