Update Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
CHANGED
@@ -1,6 +1,17 @@
|
|
1 |
# Use the Hugging Face Spaces base image
|
2 |
FROM huggingface/platform:latest
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
# Set the working directory inside the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
1 |
# Use the Hugging Face Spaces base image
|
2 |
FROM huggingface/platform:latest
|
3 |
|
4 |
+
# Install system dependencies for PyAudio and other required libraries
|
5 |
+
RUN apt-get update && apt-get install -y \
|
6 |
+
portaudio19-dev \
|
7 |
+
libasound-dev \
|
8 |
+
libportaudio2 \
|
9 |
+
libportaudiocpp0 \
|
10 |
+
gcc \
|
11 |
+
g++ \
|
12 |
+
python3-dev \
|
13 |
+
&& apt-get clean
|
14 |
+
|
15 |
# Set the working directory inside the container
|
16 |
WORKDIR /app
|
17 |
|