diff --git a/Dockerfile b/Dockerfile index 5edadf0..9e198d7 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