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:
@@ -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"]
|
||||
Reference in New Issue
Block a user