<commit_before>FROM fedora
ENV SDK_VERSION 1.19.1

USER root
WORKDIR /root/application

RUN dnf update -y

RUN \
  dnf update && \
  dnf install -y \
      'dnf-command(copr)' \
      wget \
      curl \
      git \
      unzip \
      && \
  dnf autoremove && \
  dnf clean all

#--- Installing chromium ---
RUN \
  dnf copr enable -y spot/chromium && \
  dnf install -y chromium

#--- Installing fonts ---
RUN \
  dnf install -y \
      cabextract \
      xorg-x11-font-utils \
      fontconfig \
      && \
  rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

#--- Installing content shell ---
RUN \
  wget http://gsdview.appspot.com/dart-archive/channels/stable/release/$SDK_VERSION/dartium/content_shell-linux-x64-release.zip \
  && unzip content_shell-linux-x64-release.zip \
  && rm content_shell-linux-x64-release.zip \
  && mv drt-lucid64-full-stable-$SDK_VERSION.0 content_shell
ENV PATH "$PATH:/content_shell"

#--- Installing Dart SDK ---
RUN \
 wget https://storage.googleapis.com/dart-archive/channels/stable/release/$SDK_VERSION/sdk/dartsdk-linux-x64-release.zip \
 && unzip dartsdk-linux-x64-release.zip \
 && rm dartsdk-linux-x64-release.zip
ENV PATH "$PATH:/dart-sdk/bin"

RUN \
  dart --version && \
  pub --version && \
  dartium --version

ADD pubspec.yaml /root/application/
RUN pub get

ADD . /root/application/
RUN pub get --offline

# RUN pub build

EXPOSE 3000 8181
CMD ["dart", "bin/server.dart"]<commit_msg>Fix it again<commit_after>FROM fedora
ENV SDK_VERSION 1.19.1

USER root
WORKDIR /root/application

RUN dnf update -y

RUN \
  dnf update && \
  dnf install -y \
      'dnf-command(copr)' \
      wget \
      curl \
      git \
      unzip \
      && \
  dnf autoremove && \
  dnf clean all

#--- Installing chromium ---
RUN \
  dnf copr enable -y spot/chromium && \
  dnf install -y chromium

#--- Installing fonts ---
RUN \
  dnf install -y \
      cabextract \
      xorg-x11-font-utils \
      fontconfig \
      && \
  rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

#--- Installing content shell ---
RUN \
  wget http://gsdview.appspot.com/dart-archive/channels/stable/release/$SDK_VERSION/dartium/content_shell-linux-x64-release.zip \
  && unzip content_shell-linux-x64-release.zip \
  && rm content_shell-linux-x64-release.zip \
  && mv drt-lucid64-full-stable-$SDK_VERSION.0 content_shell
ENV PATH "$PATH:/root/content_shell"

#--- Installing Dart SDK ---
RUN \
 wget https://storage.googleapis.com/dart-archive/channels/stable/release/$SDK_VERSION/sdk/dartsdk-linux-x64-release.zip \
 && unzip dartsdk-linux-x64-release.zip \
 && rm dartsdk-linux-x64-release.zip
ENV PATH "$PATH:/root/dart-sdk/bin"

RUN \
  dart --version && \
  pub --version && \
  dartium --version

ADD pubspec.yaml /root/application/
RUN pub get

ADD . /root/application/
RUN pub get --offline

# RUN pub build

EXPOSE 3000 8181
CMD ["dart", "bin/server.dart"]
{'fraction_non_alphanumeric': 0.14347681014347682, 'fraction_numerical': 0.022022022022022022, 'mean_word_length': 2.539551357733176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3971092', 'n_tokens_mistral': 1171, 'n_tokens_neox': 1088, 'n_words': 221}