Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Updated Dockerfile and start.sh to enable OpenCL
Browse files Browse the repository at this point in the history
  • Loading branch information
chris committed Oct 1, 2022
1 parent 6f28fdd commit 05c9fae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM nvidia/cuda:11.4.2-cudnn8-runtime-ubuntu20.04
WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive
ARG NV_VER
RUN apt update
RUN apt -y install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 curl ffmpeg git nano gnupg2 libsm6 wget unzip libxcb-icccm4 libxkbcommon-x11-0 libxcb-keysyms1 libxcb-icccm4 libxcb-render0 libxcb-render-util0 libxcb-image0
RUN apt install -y python3 python3-pip
Expand All @@ -11,6 +12,8 @@ RUN git clone https://github.com/iperov/DeepFaceLive.git
RUN python -m pip install --upgrade pip
RUN python -m pip install onnxruntime-gpu==1.12.1 numpy==1.21.6 h5py numexpr protobuf==3.20.1 opencv-python==4.6.0.66 opencv-contrib-python==4.6.0.66 pyqt6==6.3.1 onnx==1.12.0 torch==1.10.0 torchvision==0.11.1

RUN apt install -y libnvidia-compute-$NV_VER

WORKDIR /app/DeepFaceLive
COPY example.sh example.sh
CMD ./example.sh

0 comments on commit 05c9fae

Please sign in to comment.