<commit_before># Cooking Server
#
# VERSION   0.0.1
#
# [ Installation - inspired by Dockerfile from https://github.com/mingfang/docker-mean ] 
# Use with Docker http://www.docker.io
# 
# To build an image with docker is pretty simple:
# 
#     docker build -t cooking github.com/heartyoh/cooking-mean
# 
# Then to run that image and attach to it at the same time:
# 
#     docker run -d -p 3000:80 cooking
#
# To run that image on the shell
#
#     docker run -p 3000:80 --rm -i -t cooking /bin/bash
#     
# To test cooking server, try to open following URL on the internet browser:
#   
#     http://{yourserver}


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 && \
    echo 'deb http://archive.ubuntu.com/ubuntu precise-updates main universe' >> /etc/apt/sources.list && \
    apt-get update

# Runit
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y runit 
CMD /usr/sbin/runsvdir-start

# SSHD
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openssh-server &&	mkdir -p /var/run/sshd && \
   echo 'root:root' |chpasswd

# Utilities
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y vim less net-tools inetutils-ping curl git telnet nmap socat dnsutils netcat tree htop unzip sudo

# Node
RUN curl http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz | tar xz
RUN mv node* node && \
    ln -s /node/bin/node /usr/local/bin/node && \
    ln -s /node/bin/npm /usr/local/bin/npm<commit_msg>dockerfile<commit_after># Cooking Server
#
# VERSION   0.0.1
#
# [ Installation - inspired by Dockerfile from https://github.com/mingfang/docker-mean ] 
# Use with Docker http://www.docker.io
# 
# To build an image with docker is pretty simple:
# 
#     docker build -t cooking github.com/heartyoh/cooking-mean
# 
# Then to run that image and attach to it at the same time:
# 
#     docker run -d -p 3000:80 cooking
#
# To run that image on the shell
#
#     docker run -p 3000:80 --rm -i -t cooking /bin/bash
#     
# To test cooking server, try to open following URL on the internet browser:
#   
#     http://{yourserver}


FROM ubuntu:14.04
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 && \
    echo 'deb http://archive.ubuntu.com/ubuntu precise-updates main universe' >> /etc/apt/sources.list && \
    apt-get update

# Runit
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y runit 
CMD /usr/sbin/runsvdir-start

# SSHD
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openssh-server &&	mkdir -p /var/run/sshd && \
   echo 'root:root' |chpasswd

# Utilities
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y vim less net-tools inetutils-ping curl git telnet nmap socat dnsutils netcat tree htop unzip sudo

# Node
RUN curl http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz | tar xz
RUN mv node* node && \
    ln -s /node/bin/node /usr/local/bin/node && \
    ln -s /node/bin/npm /usr/local/bin/npm
{'fraction_non_alphanumeric': 0.11828993892639023, 'fraction_numerical': 0.01864352298296368, 'mean_word_length': 3.1493333333333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '280297', 'n_tokens_mistral': 1179, 'n_tokens_neox': 1087, 'n_words': 339}