summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile-django-1.5.12-jessie
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile-django-1.5.12-jessie')
-rw-r--r--docker/Dockerfile-django-1.5.12-jessie26
1 files changed, 26 insertions, 0 deletions
diff --git a/docker/Dockerfile-django-1.5.12-jessie b/docker/Dockerfile-django-1.5.12-jessie
new file mode 100644
index 0000000..2cf1a51
--- /dev/null
+++ b/docker/Dockerfile-django-1.5.12-jessie
@@ -0,0 +1,26 @@
+FROM python:2.7-jessie
+
+COPY backports.list /etc/apt/sources.list.d/
+
+RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf locales
+
+RUN apt-get -y -t jessie-backports install survex
+
+# Set the locale
+RUN locale-gen en_GB.UTF-8
+ENV LANG en_GB.UTF-8
+ENV LANGUAGE en_GB:en
+ENV LC_ALL en_GB.UTF-8
+
+WORKDIR /opt/expo/troggle
+COPY requirements.txt .
+
+RUN pip install --upgrade pip
+
+RUN pip install -r requirements.txt
+
+EXPOSE 8000
+
+WORKDIR /expo/troggle
+
+#CMD ["python","manage.py","runserver","0.0.0.0:8000"] \ No newline at end of file