Adding Dockerfile

This commit is contained in:
Clorr
2017-12-17 13:40:57 +01:00
committed by GitHub
parent 00b558fb0c
commit 77b18f2b72

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM gw000/keras:2.0.6-py3-tf-cpu
# install dependencies from debian packages
RUN apt-get update -qq \
&& apt-get install --no-install-recommends -y \
python-pip \
python-dev
# install dependencies from python packages
RUN pip install --upgrade setuptools
RUN pip install --upgrade keras
# 'os.scandir()' does not work in utils.py. replace with 'scandir()', and modify 'import os' to 'from scandir import scandir'
RUN pip --no-cache-dir install \
tensorflow \
opencv-python \
pathlib \
scandir \
h5py