<commit_before>FROM ubuntu:latest

MAINTAINER crits

RUN apt-get -qq update
# git command
RUN apt-get install -y git
# pip command
RUN apt-get install -y python-pip
# lsb_release command
RUN apt-get install -y lsb-release 
# sudo command
RUN apt-get install -y sudo
# add-apt-repository command
RUN apt-get install -y software-properties-common

# Clone the repo
RUN git clone --depth 1 https://github.com/crits/crits.git 

WORKDIR crits
# Install the dependencies
RUN TERM=xterm sh ./script/bootstrap < docker_inputs

# Create a new admin. Username: "admin" , Password: "<PASSWORD>!"
RUN sh contrib/mongo/mongod_start.sh && python manage.py users -u admin -p "<PASSWORD>!" -s -i -a -A -e <EMAIL> -f "first" -l "last" -o "no-org"

EXPOSE 8080

CMD sh contrib/mongo/mongod_start.sh && python manage.py runserver 0.0.0.0:8080<commit_msg>Remove user management -A option from Dockerfile<commit_after>FROM ubuntu:latest

MAINTAINER crits

RUN apt-get -qq update
# git command
RUN apt-get install -y git
# pip command
RUN apt-get install -y python-pip
# lsb_release command
RUN apt-get install -y lsb-release 
# sudo command
RUN apt-get install -y sudo
# add-apt-repository command
RUN apt-get install -y software-properties-common

# Clone the repo
RUN git clone --depth 1 https://github.com/crits/crits.git 

WORKDIR crits
# Install the dependencies
RUN TERM=xterm sh ./script/bootstrap < docker_inputs

# Create a new admin. Username: "admin" , Password: "<PASSWORD>!"
RUN sh contrib/mongo/mongod_start.sh && python manage.py users -R UberAdmin -u admin -p "<PASSWORD> <PASSWORD>!" -s -i -a -e <EMAIL> -f "first" -l "last" -o "no-org"

EXPOSE 8080

CMD sh contrib/mongo/mongod_start.sh && python manage.py runserver 0.0.0.0:8080
{'fraction_non_alphanumeric': 0.11181923522595597, 'fraction_numerical': 0.015063731170336037, 'mean_word_length': 3.851123595505618, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 10, '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': '1107860', 'n_tokens_mistral': 625, 'n_tokens_neox': 582, 'n_words': 209}