aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
-rw-r--r--requirements.txt2
2 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 14b4991..64e2a0d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,9 +5,11 @@ ADD . /srv/linaro-license-protection
ADD secrets.py /srv/secrets.py
RUN echo "*" >> /srv/allowed_hosts.txt
ENV allowed_hosts="*"
-ENV DJANGO_DEBUG="y"
+#ENV DJANGO_DEBUG="y"
RUN /srv/linaro-license-protection/manage.py migrate # Used to build the sqlite database. Temp fix as codebase needs to be updated to delete old DB calls
+RUN pip install -r /srv/linaro-license-protection/requirements.txt
+
# README
# Mount a docker "bind" mount for on-the-fly reloading
#
diff --git a/requirements.txt b/requirements.txt
index 2c5587d..489439f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-Django==1.11
+Django==1.11.20
IP2Location
beautifulsoup
boto