mirror of
https://github.com/deepfakes/faceswap.git
synced 2026-10-22 01:15:59 +08:00
15 lines
467 B
Docker
Executable File
15 lines
467 B
Docker
Executable File
FROM tensorflow/tensorflow:latest-py3
|
|
|
|
RUN apt-get update -qq -y \
|
|
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt /opt/
|
|
RUN pip3 install cmake
|
|
RUN pip3 install dlib --install-option=--yes --install-option=USE_AVX_INSTRUCTIONS
|
|
RUN pip3 --no-cache-dir install -r /opt/requirements.txt && rm /opt/requirements.txt
|
|
|
|
WORKDIR "/notebooks"
|
|
CMD ["/run_jupyter.sh", "--allow-root"]
|