<commit_before>##
## Dockerfile for a standalone OpenErp environments
##

FROM ubuntu:14.04
MAINTAINER <EMAIL>

RUN set -x; \
        apt-get update \
        && apt-get install -y --no-install-recommends \
        curl nano \
        python-tz python-babel python-dateutil python-psycopg2 \
        python-werkzeug python-decorator python-yaml python-unittest2  \
        python-mako python-jinja2 python-requests python-docutils python-openid \
        python-unidecode python-passlib python-pychart python-psutil python-pypdf \
        python-serial python-reportlab postgresql python-pip python-lxml python-dev \
        python-cups python-xlwt python-bs4 python-unicodecsv python-vatnumber python-simplejson\
        fontconfig libxrender1 xfonts-75dpi xfonts-base poppler-utils \
        && curl -o wkhtmltox.deb -SL http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb \
        && dpkg --force-depends -i wkhtmltox.deb \
        && apt-get -y install -f --no-install-recommends \
        && apt-get purge -y --auto-remove


RUN apt-get -y install python-pil python-zsi \
    && mkdir /var/lib/odoo

# Expose Odoo services
EXPOSE 8069 8071

# Set the default config file
COPY ./openerp-server.conf /opt/odoo/
COPY ./entrypoint.sh /
ENV OPENERP_SERVER /opt/odoo/openerp-server.conf

 # explicitly set user/group IDs
RUN groupadd -r odoo --gid=1000 && useradd -r -g odoo --uid=1000 odoo
RUN chown odoo:odoo /var/lib/odoo \
    && chown -R odoo:odoo /opt\
    && chown /entrypoint.sh

VOLUME ["/var/lib/odoo", "/mnt/extra-addons", "/opt/odoo"]
USER odoo


ENTRYPOINT ["/entrypoint.sh"]
CMD ["-c", "$OPENERP_SERVER"]<commit_msg>(fix) right chown command for entrypoint<commit_after>##
## Dockerfile for a standalone OpenErp environments
##

FROM ubuntu:14.04
MAINTAINER <EMAIL>

RUN set -x; \
        apt-get update \
        && apt-get install -y --no-install-recommends \
        curl nano \
        python-tz python-babel python-dateutil python-psycopg2 \
        python-werkzeug python-decorator python-yaml python-unittest2  \
        python-mako python-jinja2 python-requests python-docutils python-openid \
        python-unidecode python-passlib python-pychart python-psutil python-pypdf \
        python-serial python-reportlab postgresql python-pip python-lxml python-dev \
        python-cups python-xlwt python-bs4 python-unicodecsv python-vatnumber python-simplejson\
        fontconfig libxrender1 xfonts-75dpi xfonts-base poppler-utils \
        && curl -o wkhtmltox.deb -SL http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb \
        && dpkg --force-depends -i wkhtmltox.deb \
        && apt-get -y install -f --no-install-recommends \
        && apt-get purge -y --auto-remove


RUN apt-get -y install python-pil python-zsi \
    && mkdir /var/lib/odoo

# Expose Odoo services
EXPOSE 8069 8071

# Set the default config file
COPY ./openerp-server.conf /opt/odoo/
COPY ./entrypoint.sh /
ENV OPENERP_SERVER /opt/odoo/openerp-server.conf

 # explicitly set user/group IDs
RUN groupadd -r odoo --gid=1000 && useradd -r -g odoo --uid=1000 odoo
RUN chown odoo:odoo /var/lib/odoo \
    && chown -R odoo:odoo /opt\
    && chown odoo:odoo /entrypoint.sh

VOLUME ["/var/lib/odoo", "/mnt/extra-addons", "/opt/odoo"]
USER odoo


ENTRYPOINT ["/entrypoint.sh"]
CMD ["-c", "$OPENERP_SERVER"]
{'fraction_non_alphanumeric': 0.1225883051350549, 'fraction_numerical': 0.023745918670228554, 'mean_word_length': 2.740288568257492, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2694287', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1184, 'n_words': 281}