<commit_before>
FROM node
USER root

RUN apt-get update
RUN apt-get install gcc g++ build-essential

WORKDIR /app

# Get sources
# Make sure the correct branch/release is used here!
RUN git clone https://github.com/data-intuitive/LuciusWeb

WORKDIR /app/LuciusWeb

# LuciusWeb
RUN npm update && \
    npm install && \
    npm run build

# Port to expose
EXPOSE 80

# RUN<commit_msg>Yet another attempt, it works locally not on Docker HUB<commit_after>
FROM node
USER root

WORKDIR /app

# Get sources
# Make sure the correct branch/release is used here!
RUN git clone https://github.com/data-intuitive/LuciusWeb

WORKDIR /app/LuciusWeb

RUN npm install -g node-canvas

# LuciusWeb
RUN npm update && \
    npm install && \
    npm run build

# Port to expose
EXPOSE 80

# RUN
{'fraction_non_alphanumeric': 0.07751937984496124, 'fraction_numerical': 0.00516795865633075, 'mean_word_length': 3.4285714285714284, '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': '588383', 'n_tokens_mistral': 266, 'n_tokens_neox': 246, 'n_words': 98}