<commit_before># ------------------------------------------------------------------------------
# Based on a work at https://github.com/docker/docker.
# ------------------------------------------------------------------------------
# Pull base image.
FROM dockerfile/supervisor
MAINTAINER <NAME> <<EMAIL>>

# ------------------------------------------------------------------------------
# Install Pydio
RUN echo "deb http://dl.ajaxplorer.info/repos/apt stable main" >> /etc/apt/sources.list
RUN echo "deb-src http://dl.ajaxplorer.info/repos/apt stable main" >> /etc/apt/sources.list
RUN wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | apt-key add -

RUN apt-get update
RUN apt-get install -y pydio

# ------------------------------------------------------------------------------
# php-fpm config
RUN sed -i -e "s/output_buffering=4096/output_buffering=Off/g" /etc/php5/apache2/php.ini
RUN sed -i -e "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php5/apache2/php.ini
RUN sed -i -e "s/upload_max_filesize\s*=\s*2M/upload_max_filesize = 1G/g" /etc/php5/apache2/php.ini
RUN sed -i -e "s/post_max_size\s*=\s*8M/post_max_size = 1G/g" /etc/php5/apache2/php.ini

RUN rm /etc/apache2/sites-enabled/000-default.conf 
ADD conf/pydio.conf /etc/apache2/sites-enabled/

RUN apt-get install -y php5-mcrypt php5-mysql
RUN php5enmod mcrypt
RUN chown -R www-data /usr/share/pydio/data/

VOLUME /usr/share/pydio/data/

# ------------------------------------------------------------------------------
# Expose ports.
EXPOSE 80

# ------------------------------------------------------------------------------
# Add supervisord conf
ADD conf/startup.conf /etc/supervisor/conf.d/

# Start supervisor, define default command.
CMD supervisord -c /etc/supervisor/supervisord.conf<commit_msg>Change Pydio dockerfile<commit_after># ------------------------------------------------------------------------------
# Based on a work at https://github.com/docker/docker.
# ------------------------------------------------------------------------------
# Pull base image.
FROM dockerfile/supervisor
MAINTAINER <NAME> <<EMAIL>>

# ------------------------------------------------------------------------------
# Install Pydio
RUN echo "deb http://dl.ajaxplorer.info/repos/apt stable main" >> /etc/apt/sources.list
RUN echo "deb-src http://dl.ajaxplorer.info/repos/apt stable main" >> /etc/apt/sources.list
RUN wget -O - http://dl.ajaxplorer.info/repos/charles@ajaxplorer.info.gpg.key | apt-key add -

RUN apt-get update
RUN apt-get install -y pydio

# ------------------------------------------------------------------------------
# php-fpm config
RUN sed -i -e "s/output_buffering=4096/output_buffering=off/g" /etc/php5/apache2/php.ini
RUN sed -i -e "s/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g" /etc/php5/apache2/php.ini
RUN sed -i -e "s/upload_max_filesize\s*=\s*2M/upload_max_filesize = 1G/g" /etc/php5/apache2/php.ini
RUN sed -i -e "s/post_max_size\s*=\s*8M/post_max_size = 1G/g" /etc/php5/apache2/php.ini

RUN rm /etc/apache2/sites-enabled/000-default.conf 
ADD conf/pydio.conf /etc/apache2/sites-enabled/

RUN apt-get install -y php5-mcrypt php5-mysql
RUN php5enmod mcrypt
RUN chown -R www-data /usr/share/pydio/data/

VOLUME /usr/share/pydio/data/

# ------------------------------------------------------------------------------
# Expose ports.
EXPOSE 80
EXPOSE 443

# ------------------------------------------------------------------------------
# Add supervisord conf
ADD conf/startup.conf /etc/supervisor/conf.d/

# Start supervisor, define default command.
CMD supervisord -c /etc/supervisor/supervisord.conf
{'fraction_non_alphanumeric': 0.36564484948909143, 'fraction_numerical': 0.016293841480254073, 'mean_word_length': 1.4002650762094102, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '1289417', 'n_tokens_mistral': 1154, 'n_tokens_neox': 1095, 'n_words': 231}