<commit_before>FROM phusion/baseimage:0.9.17

MAINTAINER jshridha <<EMAIL>>

RUN apt-get update && apt-get install -q -y --no-install-recommends \
    bsd-mailx \
    motion \
    mutt \
    ssmtp \
    x264 \
	supervisor

RUN add-apt-repository -y ppa:kirillshkrogalev/ffmpeg-next && \
	apt-get update && \
	apt-get install -q -y --no-install-recommends ffmpeg v4l-utils python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev

RUN apt-get install -q -y --no-install-recommends build-essential python-dev
	
RUN pip install motioneye

RUN mkdir -p /var/lib/motioneye
	
# Copy and scripts
COPY script/* /usr/local/bin/ 

ADD supervisor/*.conf /etc/supervisor/conf.d/

ADD config/ /config_orig

EXPOSE 8081
 
VOLUME ["/var/lib/motion"]
 
WORKDIR /var/lib/motion

RUN usermod -u 99 nobody && \
usermod -g 100 nobody

CMD ["/usr/bin/supervisord, /etc/supervisor/supervisord.conf"]<commit_msg>Fix dockerfile cmd to start supervisord<commit_after>FROM phusion/baseimage:0.9.17

MAINTAINER jshridha <<EMAIL>>

RUN apt-get update && apt-get install -q -y --no-install-recommends \
    bsd-mailx \
    motion \
    mutt \
    ssmtp \
    x264 \
	supervisor

RUN add-apt-repository -y ppa:kirillshkrogalev/ffmpeg-next && \
	apt-get update && \
	apt-get install -q -y --no-install-recommends ffmpeg v4l-utils python-pip python-dev libssl-dev libcurl4-openssl-dev libjpeg-dev

RUN apt-get install -q -y --no-install-recommends build-essential python-dev
	
RUN pip install motioneye

RUN mkdir -p /var/lib/motioneye
	
# Copy and scripts
COPY script/* /usr/local/bin/ 

ADD supervisor/*.conf /etc/supervisor/conf.d/

ADD config/ /config_orig

EXPOSE 8081
 
VOLUME ["/var/lib/motion"]
 
WORKDIR /var/lib/motion

RUN usermod -u 99 nobody && \
usermod -g 100 nobody

CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
{'fraction_non_alphanumeric': 0.12568306010928962, 'fraction_numerical': 0.019672131147540985, 'mean_word_length': 3.068888888888889, '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': '161540', 'n_tokens_mistral': 741, 'n_tokens_neox': 683, 'n_words': 171}