<commit_before>FROM node:8.2.1

# Add a docker folders
ADD ./docker /

# Add app directory
ADD . /app

# Install requirements
RUN /bin/bash /opt/requirements.sh
RUN cd /app/ && npm install


# Nginx config
ADD ./docker/etc/gifted_nginx.conf /etc/nginx/sites-available/gifted_nginx.conf
RUN ln -s /etc/nginx/sites-available/gifted_nginx.conf /etc/nginx/sites-enabled

# App folder permissions
RUN chmod -R 777 /app

# Container port
EXPOSE 80

# Start app
CMD [ "npm", "start" ]<commit_msg>trying to deploy with workdir<commit_after>FROM node:8.2.1

ADD ./docker /

ADD . /app
WORKDIR /app
RUN chmod -R 777 /app

RUN /bin/bash ../opt/requirements.sh
RUN npm install

ADD ../docker/etc/gifted_nginx.conf /etc/nginx/sites-available/gifted_nginx.conf
RUN ln -s /etc/nginx/sites-available/gifted_nginx.conf /etc/nginx/sites-enabled

EXPOSE 80

CMD [ "npm", "start" ]
{'fraction_non_alphanumeric': 0.12659698025551683, 'fraction_numerical': 0.018583042973286876, 'mean_word_length': 3.466321243523316, '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': '2669608', 'n_tokens_mistral': 359, 'n_tokens_neox': 324, 'n_words': 86}