<commit_before>FROM nginx:latest
MAINTAINER SteamCache.Net Team <<EMAIL>>

ENV STEAMCACHE_VERSION 4

RUN	DEBIAN_FRONTEND=noninteractive \
    apt-get update \
 && apt-get install --assume-yes \
		bind9 \
		wget \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

COPY overlay/ /

RUN	chmod 754 /scripts/* ;\
	mkdir -m 755 -p /data/cache ;\
	mkdir -m 755 -p /data/info ;\
	mkdir -m 755 -p /data/logs ;\
	mkdir -m 755 -p /tmp/nginx/ ;\
	chown -R www-data:www-data /data/ ;\
	ln -s /etc/nginx/sites-available/steamcache.conf /etc/nginx/sites-enabled/ ;\
	ln -s /etc/nginx/sites-available/default.conf /etc/nginx/sites-enabled/

RUN echo "include \"/etc/bind/steamcache.conf\";" >> /etc/bind/named.conf.local

VOLUME ["/data/logs", "/data/cache", "/var/www"]

EXPOSE 80
EXPOSE 53/udp

WORKDIR /scripts

ENV STEAMCACHE_IP 0.0.0.0
ENV HOST_IP 192.168.0.5

ENTRYPOINT ["/scripts/bootstrap.sh"]<commit_msg>Don't include default.conf - set permissions on /scripts/*<commit_after>FROM nginx:latest
MAINTAINER SteamCache.Net Team <<EMAIL>>

ENV STEAMCACHE_VERSION 4

RUN	DEBIAN_FRONTEND=noninteractive \
    apt-get update \
 && apt-get install --assume-yes \
		bind9 \
		wget \
 && apt-get clean \
 && rm -rf /var/lib/apt/lists/*

COPY overlay/ /

RUN	chmod 755 /scripts/* ;\
	mkdir -m 755 -p /data/cache ;\
	mkdir -m 755 -p /data/info ;\
	mkdir -m 755 -p /data/logs ;\
	mkdir -m 755 -p /tmp/nginx/ ;\
	chown -R www-data:www-data /data/ ;\
	mkdir /etc/nginx/sites-enabled	;\
	ln -s /etc/nginx/sites-available/steamcache.conf /etc/nginx/sites-enabled/steamcache.conf

RUN echo "include \"/etc/bind/steamcache.conf\";" >> /etc/bind/named.conf.local

VOLUME ["/data/logs", "/data/cache", "/var/www"]

EXPOSE 80
EXPOSE 53/udp

WORKDIR /scripts

ENV STEAMCACHE_IP 0.0.0.0
ENV HOST_IP 192.168.0.5

ENTRYPOINT ["/scripts/bootstrap.sh"]
{'fraction_non_alphanumeric': 0.1641954969796815, 'fraction_numerical': 0.036243822075782535, 'mean_word_length': 2.884861407249467, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 4, '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': '698954', 'n_tokens_mistral': 813, 'n_tokens_neox': 741, 'n_words': 171}