updated
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -7,9 +7,10 @@ WORKDIR /app
|
|
7 |
# Install system dependencies required for PyAudio, ffmpeg, and virtual audio devices
|
8 |
RUN apt-get update && \
|
9 |
apt-get install -y \
|
10 |
-
python3-dev portaudio19-dev
|
11 |
alsa-utils alsa-oss alsa-tools pulseaudio \
|
12 |
-
|
|
|
13 |
|
14 |
# Set up a virtual audio device (for environments without physical audio hardware)
|
15 |
RUN echo "pcm.!default { type hw card 0 }" > /etc/asound.conf && \
|
|
|
7 |
# Install system dependencies required for PyAudio, ffmpeg, and virtual audio devices
|
8 |
RUN apt-get update && \
|
9 |
apt-get install -y \
|
10 |
+
python3-dev portaudio19-dev libportaudio2 \
|
11 |
alsa-utils alsa-oss alsa-tools pulseaudio \
|
12 |
+
build-essential gcc && \
|
13 |
+
rm -rf /var/lib/apt/lists/*
|
14 |
|
15 |
# Set up a virtual audio device (for environments without physical audio hardware)
|
16 |
RUN echo "pcm.!default { type hw card 0 }" > /etc/asound.conf && \
|