<commit_before># Dev image
FROM hope/nodejs:6

WORKDIR /data/dev

RUN \
    # Prepare build deps
    apk add --no-cache --virtual=build-dependencies git ruby && \
    gem install scss_lint -v 0.48.0 --no-ri && \

    # Test build
    npm install && \
    npm run lint

# Production image
FROM hope/nodejs:6

ENV \
    NODE_ENV=production

WORKDIR /data/app

RUN \
    apk add --no-cache --virtual=build-dependencies git && \

    git clone --depth 1 https://github.com/LifeSourceUA/lifesource.ua.git -b master . && \
    npm install && \
    npm run build

    apk del build-dependencies

ENTRYPOINT ["npm", "run"]
CMD ["start"]

EXPOSE 3000<commit_msg>build: fix Dockerfile syntax<commit_after># Dev image
FROM hope/nodejs:6

WORKDIR /data/dev

RUN \
    # Prepare build deps
    apk add --no-cache --virtual=build-dependencies git ruby && \
    gem install scss_lint -v 0.48.0 --no-ri && \

    # Test build
    npm install && \
    npm run lint

# Production image
FROM hope/nodejs:6

ENV \
    NODE_ENV=production

WORKDIR /data/app

RUN \
    apk add --no-cache --virtual=build-dependencies git && \

    git clone --depth 1 https://github.com/LifeSourceUA/lifesource.ua.git -b master . && \
    npm install && \
    npm run build && \

    apk del build-dependencies

ENTRYPOINT ["npm", "run"]
CMD ["start"]

EXPOSE 3000
{'fraction_non_alphanumeric': 0.12518853695324283, 'fraction_numerical': 0.016591251885369532, 'mean_word_length': 2.464751958224543, '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': '1583163', 'n_tokens_mistral': 487, 'n_tokens_neox': 439, 'n_words': 134}