Files
faceswap/Dockerfile
2017-12-17 13:40:57 +01:00

21 lines
534 B
Docker

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