2016-05-09 00:15:24 +08:00
|
|
|
FROM bamos/ubuntu-opencv-dlib-torch:ubuntu_14.04-opencv_2.4.11-dlib_18.16-torch_2016.05.07
|
2015-10-04 14:08:36 +08:00
|
|
|
MAINTAINER Brandon Amos <brandon.amos.cs@gmail.com>
|
2015-10-28 16:33:40 +08:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-10-04 14:08:36 +08:00
|
|
|
curl \
|
|
|
|
git \
|
2016-01-13 04:21:09 +08:00
|
|
|
graphicsmagick \
|
2015-10-04 14:08:36 +08:00
|
|
|
python-dev \
|
|
|
|
python-pip \
|
2016-01-09 03:27:34 +08:00
|
|
|
python-numpy \
|
2016-01-12 05:12:41 +08:00
|
|
|
python-nose \
|
2016-01-09 03:27:34 +08:00
|
|
|
python-scipy \
|
|
|
|
python-pandas \
|
2016-01-12 05:12:41 +08:00
|
|
|
python-protobuf\
|
2015-10-04 14:08:36 +08:00
|
|
|
wget \
|
2015-10-28 16:33:40 +08:00
|
|
|
zip \
|
|
|
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
|
2016-05-06 23:13:19 +08:00
|
|
|
ADD . /root/openface
|
|
|
|
RUN cd ~/openface && \
|
2015-12-23 09:58:06 +08:00
|
|
|
./models/get-models.sh && \
|
|
|
|
pip2 install -r requirements.txt && \
|
2015-12-23 12:42:56 +08:00
|
|
|
python2 setup.py install && \
|
2015-12-23 09:58:06 +08:00
|
|
|
pip2 install -r demos/web/requirements.txt && \
|
2015-12-23 12:42:56 +08:00
|
|
|
pip2 install -r training/requirements.txt
|
2015-11-01 05:10:59 +08:00
|
|
|
|
2015-12-24 07:41:38 +08:00
|
|
|
EXPOSE 8000 9000
|
2016-05-06 23:13:19 +08:00
|
|
|
CMD /bin/bash -l -c '/root/openface/demos/web/start-servers.sh'
|