<commit_before>FROM node:12
LABEL maintainer <EMAIL>

# install apt dependencies
RUN apt update && apt install -y \
  git \
  dos2unix \
  nodejs \
  ffmpeg \
  && rm -rf /var/lib/apt/lists/*

# install npm dependencies
RUN npm install discord.js @discordjs/opus

# prepare environment
RUN mkdir -p /discord-bots/trump-bot
WORKDIR /discord-bots/trump-bot

COPY . .

# create stats file
RUN echo '{ "guildCount": 0, "shards": 0 }' > stats.json
<commit_msg>Remove unneeded dependencies because we switched to Opus<commit_after>FROM node:12
LABEL maintainer <EMAIL>

# install npm dependencies
RUN npm install discord.js @discordjs/opus

# prepare environment
RUN mkdir -p /discord-bots/trump-bot
WORKDIR /discord-bots/trump-bot

# copy source code into container
COPY . .

# create stats file
RUN echo '{ "guildCount": 0, "shards": 0 }' > stats.json

{'fraction_non_alphanumeric': 0.10731132075471699, 'fraction_numerical': 0.01061320754716981, 'mean_word_length': 3.7966101694915255, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 7, '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': '1001787', 'n_tokens_mistral': 305, 'n_tokens_neox': 289, 'n_words': 92}