<commit_before>FROM php:7.1-alpine

RUN apk --update add git

RUN php -r "readfile('https://getcomposer.org/download/1.4.1/composer.phar');" > /usr/local/bin/composer \
    && chmod +x /usr/local/bin/composer

WORKDIR /app
COPY . ./

RUN composer install -o --no-dev --no-interaction --prefer-source

ENV RUNNING_IN_CONTAINER=1

ENTRYPOINT ["php", "scripts/consul-imex.php"]<commit_msg>Reduce docker image size.<commit_after>FROM php:7.1-alpine

WORKDIR /app
COPY . ./

RUN apk --update add git \
    && php -r "readfile('https://getcomposer.org/download/1.4.1/composer.phar');" > /usr/local/bin/composer \
    && chmod +x /usr/local/bin/composer \
    && composer install -o --no-dev --no-interaction --prefer-source \
    && rm /usr/local/bin/composer \
    && apk del git

ENV RUNNING_IN_CONTAINER=1

ENTRYPOINT ["php", "scripts/consul-imex.php"]
{'fraction_non_alphanumeric': 0.1707891637220259, 'fraction_numerical': 0.014134275618374558, 'mean_word_length': 3.1262135922330097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6359117', 'n_tokens_mistral': 338, 'n_tokens_neox': 326, 'n_words': 65}