Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/Vinthushan21/face-api
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
|
|
|
| 3 |
<<<<<<< HEAD
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
build-essential cmake \
|
|
@@ -12,6 +13,14 @@ RUN pip install --upgrade pip && pip install -r requirements.txt
|
|
| 12 |
|
| 13 |
ENV PORT=7860
|
| 14 |
=======
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# Install system dependencies for dlib / face_recognition
|
| 16 |
RUN apt-get update && apt-get install -y \
|
| 17 |
build-essential \
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
|
| 3 |
+
<<<<<<< HEAD
|
| 4 |
<<<<<<< HEAD
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
build-essential cmake \
|
|
|
|
| 13 |
|
| 14 |
ENV PORT=7860
|
| 15 |
=======
|
| 16 |
+
=======
|
| 17 |
+
# Keep dlib builds from using too much RAM on small builders.
|
| 18 |
+
ENV CMAKE_BUILD_PARALLEL_LEVEL=1 \
|
| 19 |
+
MAKEFLAGS="-j1" \
|
| 20 |
+
DLIB_USE_CUDA=0 \
|
| 21 |
+
DLIB_NO_GUI_SUPPORT=1
|
| 22 |
+
|
| 23 |
+
>>>>>>> f36a9bc11a01f4f8114498d491819a9c5d2cc9ca
|
| 24 |
# Install system dependencies for dlib / face_recognition
|
| 25 |
RUN apt-get update && apt-get install -y \
|
| 26 |
build-essential \
|