Jerich commited on
Commit
04d442c
·
verified ·
1 Parent(s): 40a94e0

Added apt-get install for libsndfile1 (required by soundfile) and ffmpeg (required by torchaudio).

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -1,5 +1,11 @@
1
  FROM python:3.10-slim
2
 
 
 
 
 
 
 
3
  # Set the working directory in the container
4
  WORKDIR /app
5
 
 
1
  FROM python:3.10-slim
2
 
3
+ # Install system dependencies for torchaudio and soundfile
4
+ RUN apt-get update && apt-get install -y \
5
+ libsndfile1 \
6
+ ffmpeg \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
  # Set the working directory in the container
10
  WORKDIR /app
11