<commit_before>FROM python:3
RUN mkdir /app
ADD app/* /app/
RUN cd /app && pip install -r requirements.txt
WORKDIR /app
ENV FLASK_APP=app.py
CMD flask run --host=0.0.0.0
<commit_msg>CIS-DI-0009: Use COPY instead of ADD in Dockerfile<commit_after>FROM python:3
RUN apt-get update \
  && apt-get upgrade -y \
  && apt-get -y clean \
  && rm -rf /var/lib/apt/lists/*
RUN mkdir /app
COPY app/* /app/
RUN cd /app && pip install -r requirements.txt
WORKDIR /app
ENV FLASK_APP=app.py
CMD flask run --host=0.0.0.0

{'fraction_non_alphanumeric': 0.1383399209486166, 'fraction_numerical': 0.02766798418972332, 'mean_word_length': 3.088709677419355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4378334', 'n_tokens_mistral': 200, 'n_tokens_neox': 193, 'n_words': 65}