<commit_before>#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------
# Note this base image is based on debian
FROM kartoza/django-base
MAINTAINER <NAME><<EMAIL>>

#RUN  ln -s /bin/true /sbin/initctl

# Use local cached debs from host (saves your bandwidth!)
# Change ip below to that of your apt-cacher-ng host
# Or comment this line out if you do not with to use caching
ADD 71-apt-cacher-ng /etc/apt/apt.conf.d/71-apt-cacher-ng

RUN apt-get update -y; apt-get -y --force-yes install yui-compressor

# Open port 8080 as we will be running our uwsgi socket on that
EXPOSE 8080

ADD REQUIREMENTS.txt /REQUIREMENTS.txt
RUN pip install -r /REQUIREMENTS.txt
RUN pip install uwsgi

# Install Gettext
RUN apt-get update -y; apt-get install -y gettext

WORKDIR /home/web/django_project
CMD ["uwsgi", "--ini", "/uwsgi.conf"]<commit_msg>Modify dockerfile for rancher production<commit_after>#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------
# Note this base image is based on debian
FROM kartoza/django-base
MAINTAINER <NAME><<EMAIL>>

RUN apt-get update -y; apt-get -y --force-yes install yui-compressor

# Open port 8080 as we will be running our uwsgi socket on that
EXPOSE 8080

ADD REQUIREMENTS.txt /REQUIREMENTS.txt
RUN pip install -r /REQUIREMENTS.txt
RUN pip install uwsgi

# Install Gettext
RUN apt-get update -y; apt-get install -y gettext

WORKDIR /home/web/django_project
CMD ["uwsgi", "--ini", "/uwsgi.conf"]
{'fraction_non_alphanumeric': 0.11489645958583834, 'fraction_numerical': 0.013360053440213761, 'mean_word_length': 3.4716417910447763, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6180557', 'n_tokens_mistral': 515, 'n_tokens_neox': 485, 'n_words': 196}