summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 2fcb51c..c11a8b0 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,6 +1,10 @@
-FROM python:2.7-jessie
+FROM python:2.7-stretch
-RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf survex locales
+#COPY backports.list /etc/apt/sources.list.d/
+
+RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf locales survex
+
+#RUN apt-get -y -t -backports install survex
# Set the locale
RUN locale-gen en_GB.UTF-8
@@ -11,8 +15,12 @@ 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