<commit_before>FROM registry

RUN apt-get update
RUN apt-get dist-upgrade -y
RUN apt-get -y install supervisor redis-server nginx

# Supervisor
ADD supervisor.conf /etc/supervisor/conf.d/supervisor.conf

# Nginx
ADD nginx.conf /etc/nginx/nginx.conf
ADD run-nginx /usr/local/bin/run-nginx
RUN chmod 755 /usr/local/bin/run-nginx

# Redis
ADD redis-simple.conf /etc/redis/redis-simple.conf

ENV WORKER_SECRET_KEY fsekfhefsefefe
ENV CACHE_LRU_REDIS_HOST 127.0.0.1
ENV CACHE_LRU_REDIS_PORT 6379
ENV CACHE_LRU_REDIS_PASSWORD <PASSWORD>
ENV CACHE_REDIS_HOST 127.0.0.1
ENV CACHE_REDIS_PORT 6379
ENV CACHE_REDIS_PASSWORD <PASSWORD>

EXPOSE 80

CMD ["/usr/bin/supervisord"]<commit_msg>Fixes<commit_after>FROM registry

RUN apt-get update
RUN apt-get dist-upgrade -y
RUN apt-get -y install supervisor redis-server nginx apache2-utils

# Supervisor
ADD supervisor.conf /etc/supervisor/conf.d/supervisor.conf

# Nginx
ADD nginx.conf /etc/nginx/nginx.conf
ADD run-nginx /usr/local/bin/run-nginx
RUN chmod 755 /usr/local/bin/run-nginx

# Redis
ADD redis-simple.conf /etc/redis/redis-simple.conf

ENV SETTINGS_FLAVOR prod
ENV WORKER_SECRET_KEY fsekfhefsefefe
ENV CACHE_LRU_REDIS_HOST 127.0.0.1
ENV CACHE_LRU_REDIS_PORT 6379
ENV CACHE_LRU_REDIS_PASSWORD <PASSWORD>
ENV CACHE_REDIS_HOST 127.0.0.1
ENV CACHE_REDIS_PORT 6379
ENV CACHE_REDIS_PASSWORD <PASSWORD>

EXPOSE 80

CMD ["/usr/bin/supervisord"]
{'fraction_non_alphanumeric': 0.08761766835626358, 'fraction_numerical': 0.036929761042722664, 'mean_word_length': 4.8559322033898304, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3538349', 'n_tokens_mistral': 617, 'n_tokens_neox': 561, 'n_words': 123}