<commit_before>FROM node:8.11 as builder
RUN apt-get update && apt-get install -y curl git python build-essential
RUN curl https://install.meteor.com/?release=1.8.0.2 | sh

# Base image done, pulling sources for build
ENV METEOR_ALLOW_SUPERUSER 1
WORKDIR /build
RUN mkdir appsrc
COPY . /build/appsrc

# Building meteor application
RUN cd appsrc && meteor npm install --production && npm audit fix --only=prod
RUN cd appsrc && meteor build --directory ../bundle

# final stage for running the container, only needs node
FROM node:8.11 as final 
RUN apt-get update && apt-get install -y curl git python build-essential

RUN mkdir /app
COPY --from=builder /build/bundle /app
WORKDIR /app/bundle
RUN cd programs/server && npm install --production && npm audit fix --only=prod
EXPOSE 8080

ENTRYPOINT [ "node", "main.js" ]<commit_msg>fixed dockefile<commit_after>FROM node:8.11 as builder
RUN apt-get update && apt-get install -y curl git python build-essential
RUN curl https://install.meteor.com/?release=1.8.0.2 | sh

# Base image done, pulling sources for build
ENV METEOR_ALLOW_SUPERUSER 1
WORKDIR /build
RUN mkdir appsrc
COPY . /build/appsrc

# Building meteor application
RUN cd appsrc && meteor npm install --production && meteor npm audit fix --only=prod
RUN cd appsrc && meteor build --directory ../bundle

# final stage for running the container, only needs node
FROM node:8.11 as final 
RUN apt-get update && apt-get install -y curl git python build-essential
RUN npm install -g npm@latest

RUN mkdir /app
COPY --from=builder /build/bundle /app
WORKDIR /app/bundle
RUN cd programs/server && npm install --production && npm audit fix --only=prod
EXPOSE 8080

ENTRYPOINT [ "node", "main.js" ]
{'fraction_non_alphanumeric': 0.09899823217442545, 'fraction_numerical': 0.01767825574543312, 'mean_word_length': 3.9504373177842567, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6023100', 'n_tokens_mistral': 554, 'n_tokens_neox': 501, 'n_words': 213}