fomext commited on
Commit
606c049
·
verified ·
1 Parent(s): dde3768

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -2
Dockerfile CHANGED
@@ -1,11 +1,19 @@
1
  FROM python:3.10
2
 
3
- # System deps
4
  RUN apt-get update && apt-get install -y \
5
  ffmpeg \
6
  git \
 
7
  libgl1 \
8
  libglib2.0-0 \
 
 
 
 
 
 
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
  # User
@@ -23,7 +31,7 @@ RUN pip install \
23
  torchaudio==2.1.0+cpu \
24
  --index-url https://download.pytorch.org/whl/cpu
25
 
26
- # 🔥 INSTALL AUDIOCRAFT FROM GITHUB (CRITICAL)
27
  RUN pip install \
28
  git+https://github.com/facebookresearch/audiocraft.git@v1.3.0
29
 
 
1
  FROM python:3.10
2
 
3
+ # System deps (FFmpeg dev headers REQUIRED for PyAV)
4
  RUN apt-get update && apt-get install -y \
5
  ffmpeg \
6
  git \
7
+ pkg-config \
8
  libgl1 \
9
  libglib2.0-0 \
10
+ libavcodec-dev \
11
+ libavformat-dev \
12
+ libavdevice-dev \
13
+ libavfilter-dev \
14
+ libavutil-dev \
15
+ libswscale-dev \
16
+ libswresample-dev \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
  # User
 
31
  torchaudio==2.1.0+cpu \
32
  --index-url https://download.pytorch.org/whl/cpu
33
 
34
+ # Install audiocraft (will now succeed)
35
  RUN pip install \
36
  git+https://github.com/facebookresearch/audiocraft.git@v1.3.0
37