-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
Dockerfile
42 lines (36 loc) · 975 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
curl \
git \
software-properties-common \
build-essential \
cmake \
pkg-config \
python3 \
python3-dev \
python3-distutils \
python3-pip \
python3-opencv \
wget \
zip \
libatlas-base-dev \
libboost-all-dev \
libopenblas-dev \
liblapack-dev \
libswscale-dev \
libssl-dev \
libffi-dev \
libsm6 \
libxext6 \
libxrender1 \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ADD . /root/openface
RUN python3 -m pip install --upgrade pip
WORKDIR /root/openface
RUN ./models/get-models.sh && \
python3 -m pip install -r requirements.txt && \
python3 -m pip install .
# python3 -m pip install --user --ignore-installed -r demos/web/requirements.txt && \
# python3 -m pip install -r training/requirements.txt
EXPOSE 8000 9000