<commit_before>FROM python:2.7

MAINTAINER <NAME> <<EMAIL>>
WORKDIR /phovea

# create dirs and install supervisor
RUN mkdir -p /phovea/app /phovea/run && apt-get install -y supervisor
CMD ["supervisord", "-n"]

COPY ./deploy/supervisord.conf /etc/supervisor/conf.d/phovea_service.conf

# install dependencies last step such that everything before can be cached
COPY requirements*.txt docker_packages.txt ./
RUN (!(test -f docker_packages.txt) || (cat docker_packages.txt | xargs apt-get install -y)) && pip install --no-cache-dir -r requirements.txt
<commit_msg>update apt-get before installing supervisor<commit_after>FROM python:2.7

MAINTAINER <NAME> <<EMAIL>>
WORKDIR /phovea

# create dirs and install supervisor
RUN mkdir -p /phovea/app /phovea/run && apt-get update && apt-get install -y supervisor
CMD ["supervisord", "-n"]

COPY ./deploy/supervisord.conf /etc/supervisor/conf.d/phovea_service.conf

# install dependencies last step such that everything before can be cached
COPY requirements*.txt docker_packages.txt ./
RUN (!(test -f docker_packages.txt) || (cat docker_packages.txt | xargs apt-get install -y)) && pip install --no-cache-dir -r requirements.txt

{'fraction_non_alphanumeric': 0.12116040955631399, 'fraction_numerical': 0.0034129692832764505, 'mean_word_length': 4.481308411214953, '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': '6648123', 'n_tokens_mistral': 384, 'n_tokens_neox': 363, 'n_words': 118}