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