AnnSankavi commited on
Commit
21ce20c
·
1 Parent(s): e4abe2e
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -1,5 +1,11 @@
1
  FROM python:3.11-slim
2
 
 
 
 
 
 
 
3
  # Install system dependencies for dlib / face_recognition
4
  RUN apt-get update && apt-get install -y \
5
  build-essential \
 
1
  FROM python:3.11-slim
2
 
3
+ # Keep dlib builds from using too much RAM on small builders.
4
+ ENV CMAKE_BUILD_PARALLEL_LEVEL=1 \
5
+ MAKEFLAGS="-j1" \
6
+ DLIB_USE_CUDA=0 \
7
+ DLIB_NO_GUI_SUPPORT=1
8
+
9
  # Install system dependencies for dlib / face_recognition
10
  RUN apt-get update && apt-get install -y \
11
  build-essential \