<commit_before>FROM python:3
LABEL maintainer="<EMAIL>"

RUN mkdir /inscriptis
COPY ./ /inscriptis/

WORKDIR /inscriptis
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir Flask
RUN python setup.py install

RUN export FLASK_APP="inscriptis.service.web"
CMD ["python3", "-m", "flask", "run"]
EXPOSE 5000<commit_msg>chg: use ENV statement for environment variables.<commit_after>FROM python:3
LABEL maintainer="<EMAIL>"

RUN mkdir /inscriptis
COPY ./ /inscriptis/

WORKDIR /inscriptis
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir Flask
RUN python setup.py install

ENV FLASK_APP="inscriptis.service.web"
CMD ["python3", "-m", "flask", "run"]
EXPOSE 5000
{'fraction_non_alphanumeric': 0.12795549374130738, 'fraction_numerical': 0.016689847009735744, 'mean_word_length': 4.76, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1907837', 'n_tokens_mistral': 252, 'n_tokens_neox': 244, 'n_words': 76}