<commit_before>FROM registry.ng.bluemix.net/jjdojo/config-php-fpm:latest

ARG PHP_FPM_VERSION=latest

ARG DRUPAL_VERSION
ARG DRUPAL_MD5

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

COPY tmp/composer.json ./

# COPY tmp/composer.lock ./

RUN composer install --no-scripts --no-autoloader

COPY . ./


RUN rm -fr /var/www/html
RUN composer create-project drupal-composer/drupal-project:8.x-dev /var/www/html/ --stability dev --no-interaction

ADD tmp/* /var/www/html/


# RUN composer dump-autoload --optimize && composer run-script post-install-cmd

COPY start.sh /root/
RUN chmod +x /root/start.sh

EXPOSE 9000

ENTRYPOINT ["/root/start.sh"]<commit_msg>Add execute bit directly to start.sh script.<commit_after>FROM registry.ng.bluemix.net/jjdojo/config-php-fpm:latest

ARG PHP_FPM_VERSION=latest

ARG DRUPAL_VERSION
ARG DRUPAL_MD5

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

COPY tmp/composer.json ./

# COPY tmp/composer.lock ./

RUN composer install --no-scripts --no-autoloader

COPY . ./


RUN rm -fr /var/www/html
RUN composer create-project drupal-composer/drupal-project:8.x-dev /var/www/html/ --stability dev --no-interaction

ADD tmp/* /var/www/html/


# RUN composer dump-autoload --optimize && composer run-script post-install-cmd

COPY start.sh /root/

EXPOSE 9000

ENTRYPOINT ["/root/start.sh"]
{'fraction_non_alphanumeric': 0.13658536585365855, 'fraction_numerical': 0.008362369337979094, 'mean_word_length': 3.325301204819277, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 6, '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': '119937', 'n_tokens_mistral': 543, 'n_tokens_neox': 522, 'n_words': 117}