<commit_before>FROM nginx:1.12.0-alpine

MAINTAINER <NAME> <<EMAIL>>

ADD nginx.conf /etc/nginx/

ARG PHP_UPSTREAM=php-fpm

RUN adduser -D -H -u 1000  www-data \
    && rm /etc/nginx/conf.d/default.conf \
    && echo "upstream php-upstream { server ${PHP_UPSTREAM}:9000; }" > /etc/nginx/conf.d/upstream.conf

EXPOSE 80 443

CMD ["nginx"]<commit_msg>only use php-fpm as upstream service<commit_after>FROM nginx:1.12.0-alpine

MAINTAINER <NAME> <<EMAIL>>

ADD nginx.conf /etc/nginx/

RUN adduser -D -H -u 1000  www-data \
    && rm /etc/nginx/conf.d/default.conf \
    && echo "upstream php-upstream { server php-fpm:9000; }" > /etc/nginx/conf.d/upstream.conf

EXPOSE 80 443

CMD ["nginx"]
{'fraction_non_alphanumeric': 0.1586608442503639, 'fraction_numerical': 0.049490538573508006, 'mean_word_length': 3.3, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2527809', 'n_tokens_mistral': 321, 'n_tokens_neox': 283, 'n_words': 62}