<commit_before>FROM nginx

MAINTAINER <NAME>

ADD https://download.elastic.co/logstash-forwarder/binaries/logstash-forwarder_linux_amd64 /opt/forwarder
ADD https://github.com/swagger-api/swagger-ui/archive/v2.1.3.tar.gz /opt/swagger-ui.tar

COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./nginx-nolog.conf /etc/nginx/nginx-nolog.conf
RUN  cd /opt ; mkdir www ; tar xvz -C ./www --strip-components=2 -f swagger-ui.tar swagger-ui-2.1.3/dist ; rm swagger-ui.tar
COPY ./index.html /opt/www/index.html

EXPOSE 8080

CMD ["/opt/startup.sh"]

COPY ./startup.sh /opt/startup.sh
COPY ./forwarder.conf /opt/forwarder.conf

ADD ./swagger.json /opt/www/
<commit_msg>Needz wget ; make tar quiet.<commit_after>FROM nginx

MAINTAINER <NAME>

ADD https://download.elastic.co/logstash-forwarder/binaries/logstash-forwarder_linux_amd64 /opt/forwarder
ADD https://github.com/swagger-api/swagger-ui/archive/v2.1.3.tar.gz /opt/swagger-ui.tar

COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./nginx-nolog.conf /etc/nginx/nginx-nolog.conf
RUN  apt-get update ; apt-get install -y wget ; \
	cd /opt ; mkdir www ; \
	tar xz -C ./www --strip-components=2 -f swagger-ui.tar swagger-ui-2.1.3/dist ; rm swagger-ui.tar
COPY ./index.html /opt/www/index.html

EXPOSE 8080

CMD ["/opt/startup.sh"]

COPY ./startup.sh /opt/startup.sh
COPY ./forwarder.conf /opt/forwarder.conf

ADD ./swagger.json /opt/www/

{'fraction_non_alphanumeric': 0.1585098612125639, 'fraction_numerical': 0.018991964937910884, 'mean_word_length': 3.308176100628931, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 8, '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': '2293437', 'n_tokens_mistral': 579, 'n_tokens_neox': 554, 'n_words': 104}