<commit_before>FROM debian:jessie
MAINTAINER <NAME> "<EMAIL>"

# Prerequisites
#----------------------------------------------------------------------------------------
RUN apt-get update && apt-get install -y \
  git \
  build-essential \
  python3 \
  python3-pip \
  python3.4-venv \
  vim \
  ruby \
  npm

# Install Askomics
#------------------------------------------------------------------------------------------
ENV VENV=/usr/local/AskomicsWeb/venv
RUN mkdir -p /usr/local/AskomicsWeb
COPY . /usr/local/AskomicsWeb/
RUN rm -rf $VENV
WORKDIR /usr/local/AskomicsWeb/

#--------------------------------------------------------------------------------------------
RUN npm install --save-dev gulp
RUN npm install --save-dev gulp-util
RUN npm install --save-dev gulp-concat
RUN npm install --save-dev gulp-sourcemaps
RUN npm install --save-dev gulp-babel babel-preset-es2015
RUN npm install --save-dev gulp-mocha
RUN npm install gulp-mocha-phantomjs --save-dev
RUN npm install should --save-dev
RUN npm install --save-dev mocha
RUN npm install --save-dev chai
RUN npm install jshint gulp-jshint --save-dev
RUN npm install mocha-phantomjs-istanbul --save-dev
RUN npm install gulp-istanbul --save-dev
RUN npm install gulp-istanbul-report --save-dev
RUN npm install gulp-inject --save-dev
RUN gem install coveralls-lcov

RUN gulp

# Launch Askomics
#-------------------------------------------------------------------------------------------
EXPOSE 6543
ENTRYPOINT ["./startAskomics.sh"]
CMD ["fuseki", "prod"]<commit_msg>fix bug when docker askomics/web started.<commit_after>FROM debian:jessie
MAINTAINER <NAME> "<EMAIL>"

# Prerequisites
#----------------------------------------------------------------------------------------
RUN apt-get update && apt-get install -y \
  git \
  build-essential \
  python3 \
  python3-pip \
  python3.4-venv \
  vim \
  ruby \
  npm \
  nodejs-legacy

# Install Askomics
#------------------------------------------------------------------------------------------
ENV VENV=/usr/local/AskomicsWeb/venv
RUN mkdir -p /usr/local/AskomicsWeb
COPY . /usr/local/AskomicsWeb/
RUN rm -rf $VENV
WORKDIR /usr/local/AskomicsWeb/

#--------------------------------------------------------------------------------------------
RUN npm config set prefix /usr/local
RUN npm install gulp -g
RUN npm install gulp-util
RUN npm install gulp-concat
RUN npm install gulp-sourcemaps
RUN npm install gulp-babel babel-preset-es2015
RUN npm install gulp-mocha
RUN npm install gulp-mocha-phantomjs --save-dev
RUN npm install should
RUN npm install mocha
RUN npm install chai
RUN npm install jshint gulp-jshint --save-dev
RUN npm install mocha-phantomjs-istanbul --save-dev
RUN npm install gulp-istanbul --save-dev
RUN npm install gulp-istanbul-report --save-dev
RUN npm install gulp-inject --save-dev
RUN gem install coveralls-lcov

RUN gulp

# Launch Askomics
#-------------------------------------------------------------------------------------------
EXPOSE 6543
ENTRYPOINT ["./startAskomics.sh"]
CMD ["fuseki", "prod"]
{'fraction_non_alphanumeric': 0.31717771183646554, 'fraction_numerical': 0.00791295746785361, 'mean_word_length': 1.4546925566343043, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3243714', 'n_tokens_mistral': 920, 'n_tokens_neox': 820, 'n_words': 259}