mirror of
https://github.com/zebrajr/faceswap.git
synced 2025-12-06 00:20:09 +01:00
20 lines
624 B
Docker
Executable File
20 lines
624 B
Docker
Executable File
FROM tensorflow/tensorflow:2.8.2
|
|
|
|
# To disable tzdata and others from asking for input
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update -qq -y \
|
|
&& apt-get install -y software-properties-common \
|
|
&& add-apt-repository -y ppa:jonathonf/ffmpeg-4 \
|
|
&& apt-get update -qq -y \
|
|
&& apt-get install -y libsm6 libxrender1 libxext-dev python3-tk ffmpeg git \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY ./requirements/_requirements_base.txt /opt/
|
|
RUN pip3 install --upgrade pip
|
|
RUN pip3 --no-cache-dir install -r /opt/_requirements_base.txt && rm /opt/_requirements_base.txt
|
|
|
|
WORKDIR "/srv"
|
|
CMD ["/bin/bash"]
|