Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +7 -2
Dockerfile
CHANGED
|
@@ -7,8 +7,13 @@ WORKDIR /app
|
|
| 7 |
# Install system dependencies
|
| 8 |
# libsndfile1 is required for soundfile/librosa
|
| 9 |
# ffmpeg is required for pydub
|
| 10 |
-
|
| 11 |
-
RUN apt-get update &&
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Copy backend requirements
|
| 14 |
# Copy backend requirements
|
|
|
|
| 7 |
# Install system dependencies
|
| 8 |
# libsndfile1 is required for soundfile/librosa
|
| 9 |
# ffmpeg is required for pydub
|
| 10 |
+
# Install system dependencies directly to avoid line-ending issues
|
| 11 |
+
RUN apt-get update && apt-get install -y \
|
| 12 |
+
libsndfile1 \
|
| 13 |
+
ffmpeg \
|
| 14 |
+
build-essential \
|
| 15 |
+
python3-dev \
|
| 16 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 17 |
|
| 18 |
# Copy backend requirements
|
| 19 |
# Copy backend requirements
|