<commit_before>FROM php:7.1.1-apache

RUN apt-get update && apt-get install -y \
	bzip2 \
	libcurl4-openssl-dev \
	libfreetype6-dev \
	libicu-dev \
	libjpeg-dev \
	libldap2-dev \
	libmcrypt-dev \
	libmemcached-dev \
	libpng12-dev \
	libpq-dev \
	libxml2-dev \
	git \
	&& rm -rf /var/lib/apt/lists/*

# set recommended PHP.ini settings
# see https://secure.php.net/manual/en/opcache.installation.php
RUN { \
		echo 'opcache.memory_consumption=128'; \
		echo 'opcache.interned_strings_buffer=8'; \
		echo 'opcache.max_accelerated_files=4000'; \
		echo 'opcache.revalidate_freq=60'; \
		echo 'opcache.fast_shutdown=1'; \
		echo 'opcache.enable_cli=1'; \
	} > /usr/local/etc/php/conf.d/opcache-recommended.ini
RUN a2enmod rewrite

ENV SSPANEL_VERSION 4.0.0
VOLUME /var/www/html

# Config Apache
RUN rm /etc/apache2/sites-enabled/000-default.conf

RUN cd /var/www/html && git clone https://github.com/orvice/ss-panel.git && cd ss-panel && git checkout 4.x-dev


RUN cp  /var/www/html/ss-panel/000-default.conf /etc/apache2/sites-enabled/

RUN chmod -R 777 /var/www/html/ss-panel/storage

VOLUME /var/www/html


RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
ONBUILD RUN composer install


COPY docker-entrypoint.sh /entrypoint.sh

EXPOSE 80

ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"]<commit_msg>update dockerfile<commit_after>FROM php:7.1.1-apache
MAINTAINER orvice<<EMAIL>>
RUN apt-get update && apt-get install -y \
	bzip2 \
	libcurl4-openssl-dev \
	libfreetype6-dev \
	libicu-dev \
	libjpeg-dev \
	libldap2-dev \
	libmcrypt-dev \
	libmemcached-dev \
	libpng12-dev \
	libpq-dev \
	libxml2-dev \
	git \
	unzip \
	&& rm -rf /var/lib/apt/lists/*

# set recommended PHP.ini settings
# see https://secure.php.net/manual/en/opcache.installation.php
RUN { \
		echo 'opcache.memory_consumption=128'; \
		echo 'opcache.interned_strings_buffer=8'; \
		echo 'opcache.max_accelerated_files=4000'; \
		echo 'opcache.revalidate_freq=60'; \
		echo 'opcache.fast_shutdown=1'; \
		echo 'opcache.enable_cli=1'; \
	} > /usr/local/etc/php/conf.d/opcache-recommended.ini

RUN a2enmod rewrite
RUN service apache2 restart

ENV SSPANEL_VERSION 4.0.0
VOLUME /var/www/html

# Config Apache
RUN rm /etc/apache2/sites-enabled/000-default.conf

RUN cd /var/www/html && git clone -b 4.x-dev https://github.com/orvice/ss-panel.git /var/www/html/ss-panel
RUN cd /var/www/html/ss-panel
RUN cp  /var/www/html/ss-panel/000-default.conf /etc/apache2/sites-enabled/

RUN chmod -R 777 /var/www/html/ss-panel/storage

VOLUME /var/www/html


RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
ONBUILD RUN composer install


COPY docker-entrypoint.sh /entrypoint.sh

EXPOSE 80

ENTRYPOINT ["/entrypoint.sh"]
CMD ["apache2-foreground"]
{'fraction_non_alphanumeric': 0.14376996805111822, 'fraction_numerical': 0.029463968761093362, 'mean_word_length': 3.4100156494522693, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 12, 'xml': 2}, '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': '161637', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1102, 'n_words': 204}