DockerFile for Mac users to run DeepfaceLab with CPU Mode (#95)

* fix localization nullpointer exception

* fix devicelib error line:61,remove e

* support create docker from cpu dockerfile

* support preview or not when train(resolve cannot connect to X server)
This commit is contained in:
Plucky
2019-01-01 18:08:21 +04:00
committed by iperov
parent 46bda1d683
commit a8694b73f0
11 changed files with 247 additions and 9 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM tensorflow/tensorflow:latest-py3
RUN apt-get update -qq -y \
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\
&& apt-get install -y ffmpeg \
&& apt-get install -y wget \
&& apt-get install -y vim \
&& apt-get install -y git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY requirements-cpu-docker.txt /opt/
RUN pip3 install cmake
RUN pip3 --no-cache-dir install -r /opt/requirements-cpu-docker.txt && rm /opt/requirements-cpu-docker.txt
WORKDIR "/notebooks"
CMD ["/run_jupyter.sh", "--allow-root"]