<commit_before># Install a dartchat as a docker container.
# Dartchat will be exposed via HTTP on port 3000.
#
# This file is hosted on github. Therefore you can start it in docker like this:
# > docker build -t dartchat github.com/nkratzke/dartchat
# > docker run -p 3000:8080 -d dartchat

FROM stackbrew/ubuntu:13.10
MAINTAINER <NAME> <<EMAIL>>

# Get the command apt-add-repository working. Needed to install Dart SDK.
# Do not touch this until you know what you are doing.
RUN apt-get update
RUN apt-get install -y software-properties-common python-software-properties

# Install Dart SDK. Do not touch this until you know what you are doing.
# We do not install darteditor nor dartium because this is a server container.
# See: http://askubuntu.com/questions/377233/how-to-install-google-dart-in-ubuntu
RUN apt-add-repository ppa:hachre/dart
RUN apt-get -y update
RUN apt-get install -y dartsdk

# Install the dartchat app.
# Copy the bin and web directory to the container. Then run "pub get" and "pub build"
# to build the app.
ADD pubspec.yaml /opt/containerdart/dartchatpubspec.yaml
ADD bin /opt/dockers/dartchatbin
ADD web /opt/dockers/dartchatweb
WORKDIR /opt/dockers/dartchat
RUN pub get
RUN pub build

# Expose port 3000 where the chat is working on.
EXPOSE 3000

# Entrypoint starts the chatserver.
WORKDIR /opt/dockers/dartchat/bin
ENTRYPOINT ["dart", "chartserver.dart"]<commit_msg>Fixed Dockerfile<commit_after># Install a dartchat as a docker container.
# Dartchat will be exposed via HTTP on port 3000.
#
# This file is hosted on github. Therefore you can start it in docker like this:
# > docker build -t dartchat github.com/nkratzke/dartchat
# > docker run -p 3000:8080 -d dartchat

FROM stackbrew/ubuntu:13.10
MAINTAINER <NAME> <<EMAIL>>

# Get the command apt-add-repository working. Needed to install Dart SDK.
# Do not touch this until you know what you are doing.
RUN apt-get update
RUN apt-get install -y software-properties-common python-software-properties

# Install Dart SDK. Do not touch this until you know what you are doing.
# We do not install darteditor nor dartium because this is a server container.
# See: http://askubuntu.com/questions/377233/how-to-install-google-dart-in-ubuntu
RUN apt-add-repository ppa:hachre/dart
RUN apt-get -y update
RUN apt-get install -y dartsdk

# Install the dartchat app.
# Copy the bin and web directory to the container. Then run "pub get" and "pub build"
# to build the app.
ADD pubspec.yaml /opt/containerdart/dartchatpubspec.yaml
ADD bin /opt/dockers/dartchat/bin
ADD web /opt/dockers/dartchat/web
WORKDIR /opt/dockers/dartchat
RUN pub build

# Expose port 3000 where the chat is working on.
EXPOSE 3000

# Entrypoint starts the chatserver.
WORKDIR /opt/dockers/dartchat/bin
ENTRYPOINT ["dart", "chartserver.dart"]
{'fraction_non_alphanumeric': 0.0817497310864109, 'fraction_numerical': 0.02151308712800287, 'mean_word_length': 4.138121546961326, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '1711802', 'n_tokens_mistral': 978, 'n_tokens_neox': 860, 'n_words': 357}