<commit_before>FROM nginx

RUN apt-get -qq update && \
  apt-get -yqq install wget && \
  apt-get clean

# Remove defaults
RUN rm /etc/nginx/conf.d/default.conf

RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.1.2/dumb-init_1.1.2_amd64
RUN chmod +x /usr/local/bin/dumb-init
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]

WORKDIR /usr/share/nginx/html

COPY nginx/conf/nginx.conf /etc/nginx/

COPY public /usr/share/nginx/html

EXPOSE 80

CMD ["nginx"]<commit_msg>Move to alpine for docker image<commit_after>FROM nginx:1.9.15-alpine

# Remove defaults
RUN rm /etc/nginx/conf.d/default.conf

ADD https://github.com/Yelp/dumb-init/releases/download/v1.1.2/dumb-init_1.1.2_amd64 /usr/local/bin/dumb-init
RUN chmod +x /usr/local/bin/dumb-init
ENTRYPOINT ["/usr/local/bin/dumb-init", "--"]

WORKDIR /usr/share/nginx/html

COPY nginx/conf/nginx.conf /etc/nginx/

COPY public /usr/share/nginx/html

EXPOSE 80

CMD ["nginx"]
{'fraction_non_alphanumeric': 0.16041666666666668, 'fraction_numerical': 0.025, 'mean_word_length': 3.4906542056074765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5763576', 'n_tokens_mistral': 424, 'n_tokens_neox': 399, 'n_words': 72}