<commit_before>FROM debian:wheezy

MAINTAINER <NAME> <<EMAIL>>

# Install privoxy 
RUN apt-get update -qq \
	&& apt-get install -y privoxy supervisor wget \
	&& apt-get clean autoclean \
	&& apt-get autoremove -y \
	&& rm -rf /var/lib/{apt,dpkg,cache,log}/* /tmp/* /var/tmp/* \
	&& mkdir -p /opt/supervisor/conf.d /opt/privoxy

# Add custom supervisor config
COPY ./supervisord/supervisord.conf /opt/supervisor/supervisord.conf
COPY ./supervisord/privoxy-supervisor.conf /opt/supervisor/conf.d/privoxy-supervisor.conf
COPY ./supervisord/adblock2privoxy-supervisor.conf /opt/supervisor/conf.d/adblock2privoxy-supervisor.conf

# Add custom privoxy config
COPY ./privoxy/config /opt/privoxy/config
COPY ./privoxy/privoxy-blocklist_0.2.sh /opt/privoxy/privoxy-blocklist_0.2.sh

# Ports
EXPOSE 8118

CMD ["supervisord", "-c", "/opt/supervisor/supervisord.conf"]<commit_msg>Added +x flag to privoxy-blocklist_0.2.sh<commit_after>FROM debian:wheezy

MAINTAINER <NAME> <<EMAIL>>

# Install privoxy 
RUN apt-get update -qq \
	&& apt-get install -y privoxy supervisor wget \
	&& apt-get clean autoclean \
	&& apt-get autoremove -y \
	&& rm -rf /var/lib/{apt,dpkg,cache,log}/* /tmp/* /var/tmp/* \
	&& mkdir -p /opt/supervisor/conf.d /opt/privoxy

# Add custom supervisor config
COPY ./supervisord/supervisord.conf /opt/supervisor/supervisord.conf
COPY ./supervisord/privoxy-supervisor.conf /opt/supervisor/conf.d/privoxy-supervisor.conf
COPY ./supervisord/adblock2privoxy-supervisor.conf /opt/supervisor/conf.d/adblock2privoxy-supervisor.conf

# Add custom privoxy config
COPY ./privoxy/config /opt/privoxy/config
COPY ./privoxy/privoxy-blocklist_0.2.sh /opt/privoxy/privoxy-blocklist_0.2.sh
RUN chmod +x /opt/privoxy/privoxy-blocklist_0.2.sh

# Ports
EXPOSE 8118

CMD ["supervisord", "-c", "/opt/supervisor/supervisord.conf"]

{'fraction_non_alphanumeric': 0.1448237885462555, 'fraction_numerical': 0.013215859030837005, 'mean_word_length': 4.033240997229917, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5763599', 'n_tokens_mistral': 700, 'n_tokens_neox': 675, 'n_words': 131}