<commit_before>FROM node:argon

ENV NODE_ENV 'production'

RUN mkdir -p /usr/src/app/server/config

RUN mkdir -p /usr/src/app/client/app/dist
RUN mkdir -p /usr/src/app/client/app/lib/jquery
RUN mkdir -p /usr/src/app/client/app/lib/imageCrop
RUN mkdir -p /usr/src/app/client/app/sass

WORKDIR /usr/src/app/server

#Copy server files
COPY server/package.json /usr/src/app/server
COPY server/controllers /usr/src/app/server/controllers
COPY server/lib /usr/src/app/server/lib
COPY server/models /usr/src/app/server/models
COPY server/neo4j /usr/src/app/server/neo4j
COPY server/server.js /usr/src/app/server
COPY server/config/production.json /usr/src/app/server/config

#Copy client files
COPY client/app/dist /usr/src/app/client/app/dist
COPY client/app/img /usr/src/app/client/app/img
COPY client/app/lib/jquery/jquery.min.js /usr/src/app/client/app/lib/jquery
COPY client/app/lib/imageCrop/cropper.min.js /usr/src/app/client/app/lib/imageCrop
COPY client/app/sass/app.css /usr/src/app/client/app/sass
COPY client/app/index.html /usr/src/app/client/app

RUN npm install --production

EXPOSE 8080
CMD [ "npm", "start" ]<commit_msg>Add app.css.map to prevent error in browser console<commit_after>FROM node:argon

ENV NODE_ENV 'production'

RUN mkdir -p /usr/src/app/server/config

RUN mkdir -p /usr/src/app/client/app/dist
RUN mkdir -p /usr/src/app/client/app/lib/jquery
RUN mkdir -p /usr/src/app/client/app/lib/imageCrop
RUN mkdir -p /usr/src/app/client/app/sass

WORKDIR /usr/src/app/server

#Copy server files
COPY server/package.json /usr/src/app/server
COPY server/controllers /usr/src/app/server/controllers
COPY server/lib /usr/src/app/server/lib
COPY server/models /usr/src/app/server/models
COPY server/neo4j /usr/src/app/server/neo4j
COPY server/server.js /usr/src/app/server
COPY server/config/production.json /usr/src/app/server/config

#Copy client files
COPY client/app/dist /usr/src/app/client/app/dist
COPY client/app/img /usr/src/app/client/app/img
COPY client/app/lib/jquery/jquery.min.js /usr/src/app/client/app/lib/jquery
COPY client/app/lib/imageCrop/cropper.min.js /usr/src/app/client/app/lib/imageCrop
COPY client/app/sass/app.css /usr/src/app/client/app/sass
COPY client/app/sass/app.css.map /usr/src/app/client/app/sass
COPY client/app/index.html /usr/src/app/client/app

RUN npm install --production

EXPOSE 8080
CMD [ "npm", "start" ]
{'fraction_non_alphanumeric': 0.1419491525423729, 'fraction_numerical': 0.005084745762711864, 'mean_word_length': 3.7600806451612905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3156059', 'n_tokens_mistral': 932, 'n_tokens_neox': 892, 'n_words': 172}