themehmi commited on
Commit
8ea0f9c
·
verified ·
1 Parent(s): c3383a4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -10
Dockerfile CHANGED
@@ -20,42 +20,33 @@ WORKDIR /app
20
 
21
  # Install system dependencies (build tools, audio, video, espeak, git, Xvfb)
22
  RUN apt-get update && apt-get install -y --no-install-recommends \
23
- # Standard compilation and build utilities (required for compiling dlib and pyaudio) \
24
  build-essential \
25
  cmake \
26
  g++ \
27
  git \
28
  gfortran \
29
  pkg-config \
30
- # Math libraries for optimization \
31
  libopenblas-dev \
32
  liblapack-dev \
33
- # OpenCV / UI system dependencies \
34
- libgl1-mesa-glx \
35
  libglib2.0-0 \
36
  libsm6 \
37
  libxext6 \
38
  libxrender-dev \
39
  libx11-dev \
40
- # PortAudio & Audio libraries (required for PyAudio & SpeechRecognition) \
41
  portaudio19-dev \
42
  libasound2-dev \
43
  alsa-utils \
44
  pulseaudio \
45
- # Pygame graphics/audio backends \
46
  libsdl2-dev \
47
  libsdl2-image-dev \
48
  libsdl2-mixer-dev \
49
  libsdl2-ttf-dev \
50
- # Soundfile dependency \
51
  libsndfile1 \
52
- # Text-to-Speech (espeak) backend for pyttsx3 Linux fallback \
53
  espeak \
54
  libespeak-dev \
55
- # Virtual Framebuffer (Xvfb) for headless OpenCV rendering (cv2.imshow) \
56
  xvfb \
57
  x11-apps \
58
- # Cleanup to minimize image size \
59
  && rm -rf /var/lib/apt/lists/*
60
 
61
  # Upgrade pip, setuptools, and wheel
 
20
 
21
  # Install system dependencies (build tools, audio, video, espeak, git, Xvfb)
22
  RUN apt-get update && apt-get install -y --no-install-recommends \
 
23
  build-essential \
24
  cmake \
25
  g++ \
26
  git \
27
  gfortran \
28
  pkg-config \
 
29
  libopenblas-dev \
30
  liblapack-dev \
31
+ libgl1 \
 
32
  libglib2.0-0 \
33
  libsm6 \
34
  libxext6 \
35
  libxrender-dev \
36
  libx11-dev \
 
37
  portaudio19-dev \
38
  libasound2-dev \
39
  alsa-utils \
40
  pulseaudio \
 
41
  libsdl2-dev \
42
  libsdl2-image-dev \
43
  libsdl2-mixer-dev \
44
  libsdl2-ttf-dev \
 
45
  libsndfile1 \
 
46
  espeak \
47
  libespeak-dev \
 
48
  xvfb \
49
  x11-apps \
 
50
  && rm -rf /var/lib/apt/lists/*
51
 
52
  # Upgrade pip, setuptools, and wheel