From 268d2c465e76d8303099c07cc92434c063570c29 Mon Sep 17 00:00:00 2001 From: montag Date: Mon, 1 May 2017 19:59:23 -0700 Subject: [PATCH] Docker config changes supporting TLS (part 2). This fixes an issue with pip and some of the dependent libraries. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5edadf024..9e198d7f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,11 +23,12 @@ RUN apt-get update && apt-get install -y \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ADD . /root/openface +RUN python -m pip install --upgrade --force pip RUN cd ~/openface && \ ./models/get-models.sh && \ pip2 install -r requirements.txt && \ python2 setup.py install && \ - pip2 install -r demos/web/requirements.txt && \ + pip2 install --user --ignore-installed -r demos/web/requirements.txt && \ pip2 install -r training/requirements.txt EXPOSE 8000 9000