Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -6,6 +6,7 @@ RUN apt-get update && apt-get install -y \
|
|
6 |
libasound-dev \
|
7 |
libportaudio2 \
|
8 |
libportaudiocpp0 \
|
|
|
9 |
gcc \
|
10 |
&& apt-get clean
|
11 |
# Set the working directory inside the container
|
@@ -14,6 +15,8 @@ WORKDIR /app
|
|
14 |
COPY . /app
|
15 |
# Install Python dependencies
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
17 |
# Expose the Streamlit default port
|
18 |
EXPOSE 8501
|
19 |
# Run the Streamlit app
|
|
|
6 |
libasound-dev \
|
7 |
libportaudio2 \
|
8 |
libportaudiocpp0 \
|
9 |
+
pulseaudio \
|
10 |
gcc \
|
11 |
&& apt-get clean
|
12 |
# Set the working directory inside the container
|
|
|
15 |
COPY . /app
|
16 |
# Install Python dependencies
|
17 |
RUN pip install --no-cache-dir -r requirements.txt
|
18 |
+
RUN pactl load-module module-null-sink sink_name=virtual_mic
|
19 |
+
RUN pactl load-module module-virtual-source source_name=virtual_mic.monitor
|
20 |
# Expose the Streamlit default port
|
21 |
EXPOSE 8501
|
22 |
# Run the Streamlit app
|