fffiloni commited on
Commit
ef9372a
·
verified ·
1 Parent(s): 512f81b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -11
Dockerfile CHANGED
@@ -21,16 +21,6 @@ RUN apt-get update && apt-get install -y \
21
  libgtk-3-dev \
22
  python3-dev
23
 
24
- # Clone and build dlib from source
25
- RUN git clone https://github.com/davisking/dlib.git && \
26
- cd dlib && \
27
- mkdir build && \
28
- cd build && \
29
- cmake .. && \
30
- cmake --build . && \
31
- cd .. && \
32
- python setup.py install
33
-
34
  RUN useradd -m -u 1000 user
35
 
36
  USER user
@@ -79,7 +69,7 @@ RUN pip install --no-cache-dir \
79
  RUN pip install gradio
80
 
81
  # Install dlib with verbose output
82
- #RUN pip install --verbose --no-cache-dir dlib-binary
83
 
84
  COPY app.py .
85
 
 
21
  libgtk-3-dev \
22
  python3-dev
23
 
 
 
 
 
 
 
 
 
 
 
24
  RUN useradd -m -u 1000 user
25
 
26
  USER user
 
69
  RUN pip install gradio
70
 
71
  # Install dlib with verbose output
72
+ RUN pip install --verbose --no-cache-dir dlib-bin
73
 
74
  COPY app.py .
75