mirror of
https://github.com/zebrajr/faceswap.git
synced 2026-01-15 12:15:15 +00:00
Adding Dockerfile
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user