<commit_before>FROM andrewosh/binder-base

USER main

RUN git clone https://github.com/Anaconda-Server/nbpresent.git

WORKDIR nbpresent

# conda packages (preferred)
RUN conda install \
  -c javascript \
  -c nbcio \
  npm \
  bokeh \
  bqplot \
  nbbrowserpdf

RUN pip install qgrid

RUN npm install && npm run dist
RUN python setup.py develop
RUN jupyter nbextension install \
  --prefix="${CONDA_ENV_PATH}" \
  nbpresent/static/nbpresent<commit_msg>nodejs, not npm<commit_after>FROM andrewosh/binder-base

USER main

RUN git clone https://github.com/Anaconda-Server/nbpresent.git

WORKDIR nbpresent

# conda packages (preferred)
RUN conda install \
    -y \
    -c javascript \
    -c nbcio \
    bokeh \
    bqplot \
    nbbrowserpdf \
    nodejs \
  && conda env export

RUN pip install \
  --no-cache-dir \
  qgrid

RUN npm install && npm run dist
RUN python setup.py develop
RUN jupyter nbextension install \
  --prefix="${CONDA_ENV_PATH}" \
  nbpresent/static/nbpresent
{'fraction_non_alphanumeric': 0.09211873080859775, 'fraction_numerical': 0.0, 'mean_word_length': 3.041322314049587, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4382604', 'n_tokens_mistral': 359, 'n_tokens_neox': 346, 'n_words': 94}