<commit_before>FROM caffe:0.14
MAINTAINER NVIDIA CORPORATION <<EMAIL>>

# workaround: gcc and libhdf5-dev are dependencies that are currently missing from the torch package
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
        gcc \
        git \
        graphviz \
        gunicorn \
        libhdf5-dev \
        nginx \
        python-caffe-nv \
        python-flask \
        python-flaskext.socketio \
        python-flaskext.wtf \
        python-gevent \
        python-lmdb \
        python-pil \
        python-pip \
        python-pydot \
        python-requests \
        python-six \
        python-skimage \
        python-wtforms \
        torch7-nv=0.9.98-1+cuda7.5 && \
    rm -rf /var/lib/apt/lists/*

ENV DIGITS_VERSION 4.0
LABEL com.nvidia.digits.version="4.0"

WORKDIR /opt/digits

ENV CLONE_TAG=v4.0.0-rc.3
RUN git clone -b ${CLONE_TAG} --depth 1 https://github.com/NVIDIA/DIGITS.git . && \
    for req in $(cat requirements.txt); do pip install $req; done

VOLUME /data
VOLUME /jobs

COPY digits.cfg digits/digits.cfg
<commit_msg>Update DIGITS 4.0 Dockerfile to use v4.0.0<commit_after>FROM caffe:0.14
MAINTAINER NVIDIA CORPORATION <<EMAIL>>

# workaround: gcc and libhdf5-dev are dependencies that are currently missing from the torch package
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
        gcc \
        git \
        graphviz \
        gunicorn \
        libhdf5-dev \
        nginx \
        python-caffe-nv \
        python-flask \
        python-flaskext.socketio \
        python-flaskext.wtf \
        python-gevent \
        python-lmdb \
        python-pil \
        python-pip \
        python-pydot \
        python-requests \
        python-six \
        python-skimage \
        python-wtforms \
        torch7-nv=0.9.98-1+cuda7.5 && \
    rm -rf /var/lib/apt/lists/*

ENV DIGITS_VERSION 4.0
LABEL com.nvidia.digits.version="4.0"

WORKDIR /opt/digits

ENV CLONE_TAG=v4.0.0
RUN git clone -b ${CLONE_TAG} --depth 1 https://github.com/NVIDIA/DIGITS.git . && \
    for req in $(cat requirements.txt); do pip install $req; done

VOLUME /data
VOLUME /jobs

COPY digits.cfg digits/digits.cfg

{'fraction_non_alphanumeric': 0.11177007299270073, 'fraction_numerical': 0.021897810218978103, 'mean_word_length': 1.8931398416886545, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '4992628', 'n_tokens_mistral': 809, 'n_tokens_neox': 768, 'n_words': 176}