Docker config changes supporting TLS (part 2). This fixes an issue with pip and some of the dependent libraries.
This commit is contained in:
parent
47afcbf35a
commit
268d2c465e
|
@ -23,11 +23,12 @@ RUN apt-get update && apt-get install -y \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
ADD . /root/openface
|
ADD . /root/openface
|
||||||
|
RUN python -m pip install --upgrade --force pip
|
||||||
RUN cd ~/openface && \
|
RUN cd ~/openface && \
|
||||||
./models/get-models.sh && \
|
./models/get-models.sh && \
|
||||||
pip2 install -r requirements.txt && \
|
pip2 install -r requirements.txt && \
|
||||||
python2 setup.py install && \
|
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
|
pip2 install -r training/requirements.txt
|
||||||
|
|
||||||
EXPOSE 8000 9000
|
EXPOSE 8000 9000
|
||||||
|
|
Loading…
Reference in New Issue