<commit_before># Build
FROM node:10.10 AS build-deps
LABEL maintainer="<EMAIL>"

WORKDIR /app

RUN apt-get update && \
    apt-get install -y \
      netcat \
      git && \
    rm -rf /var/lib/apt/lists/*

COPY package.json package-lock.json /app/

# Install all NPM dependencies, and:
#  * Changing git URL because network is blocking git protocol...
RUN git config --global url."https://".insteadOf git:// && \
    git config --global url."https://github.com/".insteadOf git@github.com: && \
    npm config set registry https://nexus.data.amsterdam.nl/repository/npm-group/ && \
    PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
    npm --production=false \
        --unsafe-perm \
        --verbose \<commit_msg>comment out debian repository<commit_after># Build
FROM node:10.10 AS build-deps
LABEL maintainer="<EMAIL>"

WORKDIR /app

RUN sed -e '/deb http:\/\/deb.debian.org\/debian jessie-updates main/ s/^#*/#/' -i /etc/apt/sources.list && \
      apt-get update && \
      apt-get install -y \
      netcat \
      git && \
      rm -rf /var/lib/apt/lists/*

COPY package.json package-lock.json /app/

# Install all NPM dependencies, and:
#  * Changing git URL because network is blocking git protocol...
RUN git config --global url."https://".insteadOf git:// && \
    git config --global url."https://github.com/".insteadOf git@github.com: && \
    npm config set registry https://nexus.data.amsterdam.nl/repository/npm-group/ && \
    PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true \
    npm --production=false \
        --unsafe-perm \
        --verbose \
{'fraction_non_alphanumeric': 0.15077319587628865, 'fraction_numerical': 0.005154639175257732, 'mean_word_length': 2.4977477477477477, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '1583103', 'n_tokens_mistral': 528, 'n_tokens_neox': 503, 'n_words': 132}