devluke commited on
Commit
e05e60f
·
verified ·
1 Parent(s): 7755adc

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -38,6 +38,8 @@ LABEL maintainer="undertone-classification"
38
  LABEL description="Skin undertone classification — Flask + TensorFlow + MediaPipe (HF Spaces)"
39
 
40
  # Runtime system libs required by OpenCV and MediaPipe
 
 
41
  RUN apt-get update && apt-get install -y --no-install-recommends \
42
  libgl1 \
43
  libglib2.0-0 \
@@ -45,6 +47,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
45
  libsm6 \
46
  libxext6 \
47
  libxrender1 \
 
 
48
  && rm -rf /var/lib/apt/lists/*
49
 
50
  # Copy installed Python packages from the builder stage
 
38
  LABEL description="Skin undertone classification — Flask + TensorFlow + MediaPipe (HF Spaces)"
39
 
40
  # Runtime system libs required by OpenCV and MediaPipe
41
+ # libgles2 → provides libGLESv2.so.2 (MediaPipe C bindings hard-require this)
42
+ # libegl1 → provides libEGL.so.1 (MediaPipe GPU/EGL path)
43
  RUN apt-get update && apt-get install -y --no-install-recommends \
44
  libgl1 \
45
  libglib2.0-0 \
 
47
  libsm6 \
48
  libxext6 \
49
  libxrender1 \
50
+ libgles2 \
51
+ libegl1 \
52
  && rm -rf /var/lib/apt/lists/*
53
 
54
  # Copy installed Python packages from the builder stage