<commit_before>FROM openresty/openresty:centos
ADD files/default.conf /etc/nginx/conf.d/default.conf
ADD files/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
RUN touch /etc/nginx/htpasswd
RUN /usr/local/openresty/luajit/bin/luarocks install lua-resty-jwt
RUN yum install -y httpd-tools && yum clean all
CMD bash -c "/usr/bin/htpasswd  -Bbc /etc/nginx/htpasswd mozdef $basic_auth_secret 2> /dev/null; /usr/bin/openresty -g 'daemon off;'"<commit_msg>use non-relative path again not great, but other things would need to change otherwise<commit_after>FROM openresty/openresty:centos
ADD docker/compose/mozdef_cognito_proxy/files/default.conf /etc/nginx/conf.d/default.conf
ADD docker/compose/mozdef_cognito_proxy/files/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
RUN touch /etc/nginx/htpasswd
RUN /usr/local/openresty/luajit/bin/luarocks install lua-resty-jwt
RUN yum install -y httpd-tools && yum clean all
CMD bash -c "/usr/bin/htpasswd  -Bbc /etc/nginx/htpasswd mozdef $basic_auth_secret 2> /dev/null; /usr/bin/openresty -g 'daemon off;'"
{'fraction_non_alphanumeric': 0.11943127962085308, 'fraction_numerical': 0.0018957345971563982, 'mean_word_length': 4.647058823529412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3009273', 'n_tokens_mistral': 411, 'n_tokens_neox': 402, 'n_words': 86}