<commit_before>FROM mhart/alpine-node:latest

RUN apk update && apk add --no-cache git mongodb redis ffmpeg python2 build-base

RUN git clone https://github.com/rem-bot-industries/rem-v2.git && \
    cd rem-v2 && \
    npm install 

RUN cd rem-v2 && \
    git submodule init && \
    git submodule update

COPY ./src/dummy.js /

WORKDIR /rem-v2
RUN mkdir temp audio config db

COPY ./config/main.json /rem-v2/config
COPY ./config/keys.json /rem-v2/config

COPY ./src/run.sh /
CMD /run.sh
<commit_msg>Make Dockerfile use current repository<commit_after>FROM mhart/alpine-node:latest

RUN apk update && apk add --no-cache git mongodb redis ffmpeg python2 build-base

COPY . /rem-v2/
WORKDIR /rem-v2

RUN npm install

RUN mkdir temp audio db
COPY ./config/keys.json ./config/main.json config/

COPY ./src/dummy.js /
COPY ./src/run.sh /

CMD /run.sh

{'fraction_non_alphanumeric': 0.12174940898345153, 'fraction_numerical': 0.01182033096926714, 'mean_word_length': 2.867579908675799, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '5118494', 'n_tokens_mistral': 326, 'n_tokens_neox': 307, 'n_words': 91}