<commit_before># set the base image first
FROM php:5.5-cli

# specify maintainer
MAINTAINER <NAME> <<EMAIL>>

# Basics
RUN apt-get update && apt-get install -y git-core curl

# PHP stuff
RUN apt-get update && apt-get install -y \
        libfreetype6-dev \
        libjpeg62-turbo-dev \
        libmcrypt-dev \
        libpng12-dev \
    && docker-php-ext-install -j$(nproc) mcrypt \
    && docker-php-ext-install -j$(nproc) zip \
    && cp /usr/src/php/php.ini-production /usr/local/etc/php/php.ini \
    && sed -i "s/^;date.timezone =$/date.timezone = \"UTC\"/" /usr/local/etc/php/php.ini

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

# Create directory for application
RUN mkdir /var/www

# Copy all necessary stuff to docker
COPY . /var/www

# Install composer packages
RUN cd /var/www && composer install

# Create run-time folder and make it writable
RUN mkdir /var/www/var && chmod 777 -R /var/www/var

# And finally run PHP server
CMD php -S 0.0.0.0:80 -t /var/www/web<commit_msg>Small fix<commit_after># set the base image first
FROM php:5.5-cli

# specify maintainer
MAINTAINER <NAME> <<EMAIL>>

# Basics
RUN apt-get update && apt-get install -y git-core curl

# PHP stuff
RUN apt-get update && apt-get install -y \
        libfreetype6-dev \
        libjpeg62-turbo-dev \
        libmcrypt-dev \
        libpng12-dev \
    && docker-php-ext-install -j$(nproc) mcrypt \
    && docker-php-ext-install -j$(nproc) zip \
    && cp /usr/src/php/php.ini-production /usr/local/etc/php/php.ini \
    && sed -i "s/^;date.timezone =$/date.timezone = \"UTC\"/" /usr/local/etc/php/php.ini

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

# Create directory for application
RUN mkdir /var/www

# Copy all necessary stuff to docker
COPY . /var/www

# Install composer packages
RUN cd /var/www && composer install

# Create run-time folder and make it writable
RUN mkdir /var/www/var && chmod 777 -R /var/www/var

# Expose port 80
EXPOSE 80

# And finally run PHP server
CMD php -S 0.0.0.0:80 -t /var/www/web
{'fraction_non_alphanumeric': 0.13935185185185187, 'fraction_numerical': 0.016666666666666666, 'mean_word_length': 2.7322970639032813, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 8, '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': '2160437', 'n_tokens_mistral': 803, 'n_tokens_neox': 756, 'n_words': 217}