2017-12-17 13:40:57 +01:00
|
|
|
FROM gw000/keras:2.0.6-py3-tf-cpu
|
|
|
|
|
|
|
|
|
|
RUN apt-get update -qq \
|
|
|
|
|
&& apt-get install --no-install-recommends -y \
|
|
|
|
|
python-pip \
|
|
|
|
|
python-dev
|
|
|
|
|
|
2017-12-19 16:36:41 +01:00
|
|
|
COPY requirements.txt .
|
|
|
|
|
|
2017-12-17 13:40:57 +01:00
|
|
|
# install dependencies from python packages
|
|
|
|
|
RUN pip install --upgrade setuptools
|
|
|
|
|
|
2017-12-20 21:27:14 +01:00
|
|
|
RUN pip3 --no-cache-dir install -r ./requirements.txt
|
2017-12-19 16:42:12 +01:00
|
|
|
|
|
|
|
|
RUN apt-get install -y \
|
|
|
|
|
cmake \
|
|
|
|
|
libboost-all-dev
|
|
|
|
|
|
2017-12-19 17:04:16 +01:00
|
|
|
# Add these to requirements.txt
|
2017-12-20 21:27:14 +01:00
|
|
|
RUN pip3 --no-cache-dir install \
|
2017-12-19 16:42:12 +01:00
|
|
|
scikit-image \
|
|
|
|
|
# boost \
|
|
|
|
|
dlib
|