<commit_before>FROM ubuntu:18.04

ENV LC_ALL=C.UTF-8

RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y sudo build-essential git curl python3 python3-pip python3-dev imagemagick memcached libmemcached-dev libxml2-dev libxslt1-dev libssl-dev libffi-dev mercurial bzr

RUN curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs

WORKDIR /app
ADD . /app

ENV SECRET_KEY="somethissecret"
ENV DB_HOST="db"
ENV DJANGO_SETTINGS_MODULE="lutrisweb.settings.local"
RUN /app/scripts/setup.sh

RUN sh -c "touch templates/docs/installers.html"

EXPOSE 8000

CMD ["make", "run"]<commit_msg>Build Vue frontend in the Dockerfile<commit_after>FROM ubuntu:18.04

ENV LC_ALL=C.UTF-8

RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y sudo build-essential git curl python3 python3-pip python3-dev imagemagick memcached libmemcached-dev libxml2-dev libxslt1-dev libssl-dev libffi-dev mercurial bzr

RUN curl -sL https://deb.nodesource.com/setup_13.x | sudo -E bash -
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs

WORKDIR /app
ADD . /app

ENV SECRET_KEY="somethissecret"
ENV DB_HOST="db"
ENV DJANGO_SETTINGS_MODULE="lutrisweb.settings.local"
RUN /app/scripts/setup.sh
RUN cd /app/frontend/vue/ && npm install && npm run build

RUN sh -c "touch templates/docs/installers.html"

EXPOSE 8000

CMD ["make", "run"]
{'fraction_non_alphanumeric': 0.10021171489061398, 'fraction_numerical': 0.022582921665490474, 'mean_word_length': 4.859504132231405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3156052', 'n_tokens_mistral': 556, 'n_tokens_neox': 516, 'n_words': 136}