<commit_before># Tunnelchat docker container
#
# VERSION               0.0.2

FROM      ubuntu
MAINTAINER <NAME> "<EMAIL>"

# make sure the package repository is up to date
#RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y redis-server python3-pip build-essential python3-dev

ADD . /tunnelchat
RUN pip3 install -r /tunnelchat/requirements.txt 

EXPOSE 8888
WORKDIR /tunnelchat
CMD honcho start
<commit_msg>include dart sdk and frontend compilation during docker build<commit_after># Tunnelchat docker container
#
# VERSION               0.0.2

FROM      ubuntu
MAINTAINER <NAME> "<EMAIL>"

# make sure the package repository is up to date
RUN apt-get update
RUN apt-get install -y redis-server python3-pip build-essential python3-dev
RUN apt-get install -y wget unzip
RUN apt-get install -y ruby

# install dart sdk
WORKDIR /tmp
RUN wget http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip
RUN unzip dartsdk-linux-x64-release.zip
RUN mv dart-sdk /opt
ENV PATH /opt/dart-sdk/bin:$PATH

# install compass
RUN gem install bootstrap-sass compass

# install python dependencies
ADD . /tunnelchat
RUN pip3 install -r /tunnelchat/requirements.txt 

# compile dart/sass
WORKDIR /tunnelchat/static
RUN pub get
RUN make clean all

EXPOSE 8888
WORKDIR /tunnelchat
CMD honcho start

{'fraction_non_alphanumeric': 0.08062234794908062, 'fraction_numerical': 0.016973125884016973, 'mean_word_length': 3.7643097643097643, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '6660447', 'n_tokens_mistral': 486, 'n_tokens_neox': 447, 'n_words': 156}