<commit_before>FROM continuumio/miniconda:latest

ENV LANG=C.UTF-8 LC_ALL=C.UTF-8

LABEL description='Django admin app for Observation Data Model 2 (ODM2)' \
      url='https://github.com/miguelcleon/ODM2-Admin' \
      author='<NAME>' \
      author_email='<EMAIL>' \
      development_status='5 - Production/Stable' \
      environment='Console' \
      intended_audience='Science/Research, Developers, Education' \
      license='MIT License' \
      operating_system='OS Independent' \
      programming_language='Python' \
      topic='Scientific/Engineering, Education'

RUN apt-get update --fix-missing && apt-get install --yes apt-utils postgresql-client

EXPOSE 8000

RUN git clone "https://github.com/ODM2/ODM2-Admin"
RUN cd ODM2-Admin && latest=$(git describe --tags) && git checkout ${latest}

WORKDIR /ODM2-Admin

VOLUME templatesAndSettings/settings/

RUN conda create --yes -n odm2adminenv -c conda-forge python=3.6 pytz gdal --file requirements.txt

COPY odm2database/odm2adminDB.sql /odm2adminDB.sql
COPY odm2database/cvload.py /cvload.py

COPY wait-for-postgres.sh /wait-for-postgres.sh
COPY startup.sh /startup.sh

RUN chmod 755 /wait-for-postgres.sh
RUN chmod 755 /startup.sh

CMD ["/bin/bash", "/wait-for-postgres.sh", "db", "/startup.sh"]
<commit_msg>change host name for postgresql in dockerfile<commit_after>FROM continuumio/miniconda:latest

ENV LANG=C.UTF-8 LC_ALL=C.UTF-8

LABEL description='Django admin app for Observation Data Model 2 (ODM2)' \
      url='https://github.com/miguelcleon/ODM2-Admin' \
      author='<NAME>' \
      author_email='<EMAIL>' \
      development_status='5 - Production/Stable' \
      environment='Console' \
      intended_audience='Science/Research, Developers, Education' \
      license='MIT License' \
      operating_system='OS Independent' \
      programming_language='Python' \
      topic='Scientific/Engineering, Education'

RUN apt-get update --fix-missing && apt-get install --yes apt-utils postgresql-client

EXPOSE 8000

RUN git clone "https://github.com/ODM2/ODM2-Admin"
RUN cd ODM2-Admin && latest=$(git describe --tags) && git checkout ${latest}

WORKDIR /ODM2-Admin

VOLUME templatesAndSettings/settings/

RUN conda create --yes -n odm2adminenv -c conda-forge python=3.6 pytz gdal --file requirements.txt

COPY odm2database/odm2adminDB.sql /odm2adminDB.sql
COPY odm2database/cvload.py /cvload.py

COPY wait-for-postgres.sh /wait-for-postgres.sh
COPY startup.sh /startup.sh

RUN chmod 755 /wait-for-postgres.sh
RUN chmod 755 /startup.sh

CMD ["/bin/bash", "/wait-for-postgres.sh", "127.0.0.1", "/startup.sh"]

{'fraction_non_alphanumeric': 0.13036750483558995, 'fraction_numerical': 0.02321083172147002, 'mean_word_length': 3.6847826086956523, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '5257148', 'n_tokens_mistral': 933, 'n_tokens_neox': 889, 'n_words': 200}