<commit_before>FROM nginx:1.9-alpine

MAINTAINER <NAME> <<EMAIL>>

ENV NGINX_HTML_DIR /usr/share/nginx/html/
ENV TIDY_URL tidy.com
ENV HTTP http

COPY views/* ${NGINX_HTML_DIR}
COPY conf/nginx.conf /etc/nginx/nginx.conf
COPY conf/nginx.vh.default.conf /etc/nginx/conf.d/default.conf

RUN find ${NGINX_HTML_DIR} -name "*.html" | \
        xargs sed -i "s/http:\/\/127.0.0.1:8089/${HTTP}:\/\/${TIDY_URL}/g"
RUN chown -R nginx:nginx ${NGINX_HTML_DIR}

WORKDIR /usr/share/nginx/html/

EXPOSE 80 443

CMD ["nginx", "-g", "daemon off;"]<commit_msg>update Dockerfile<commit_after>FROM nginx:1.9-alpine

MAINTAINER <NAME> <<EMAIL>>

ENV NGINX_HTML_DIR /usr/share/nginx/html/
ENV TIDY_URL tidy.com
ENV HTTP http

COPY views/auth/* ${NGINX_HTML_DIR}/auth/
COPY views/checkin/* ${NGINX_HTML_DIR}/checkin/
COPY views/static/* ${NGINX_HTML_DIR}/static/
COPY views/templates/* ${NGINX_HTML_DIR}/templates/
COPY views/user/* ${NGINX_HTML_DIR}/user/
COPY conf/nginx.conf /etc/nginx/nginx.conf
COPY conf/nginx.vh.default.conf /etc/nginx/conf.d/default.conf

RUN find ${NGINX_HTML_DIR} -name "*.html" | \
        xargs sed -i "s/http:\/\/127.0.0.1:8089/${HTTP}:\/\/${TIDY_URL}/g"
RUN chown -R nginx:nginx ${NGINX_HTML_DIR}

WORKDIR /usr/share/nginx/html/

EXPOSE 80 443

CMD ["nginx", "-g", "daemon off;"]
{'fraction_non_alphanumeric': 0.17793317793317792, 'fraction_numerical': 0.02641802641802642, 'mean_word_length': 3.972972972972973, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3036295', 'n_tokens_mistral': 590, 'n_tokens_neox': 552, 'n_words': 106}