Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
|
@@ -13,14 +13,14 @@ COPY requirements.txt .
|
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
# 2. FORCE install WhisperX without checking dependencies
|
| 16 |
-
# This bypasses the "ResolutionImpossible" error
|
| 17 |
RUN pip install --no-deps git+https://github.com/m-bain/whisperx.git@v3.3.1
|
| 18 |
|
| 19 |
-
# 3. Manually install dependencies
|
| 20 |
-
#
|
| 21 |
RUN pip install --no-cache-dir \
|
| 22 |
faster-whisper==1.1.0 \
|
| 23 |
-
transformers \
|
|
|
|
| 24 |
nltk \
|
| 25 |
setuptools-rust
|
| 26 |
|
|
|
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
# 2. FORCE install WhisperX without checking dependencies
|
|
|
|
| 16 |
RUN pip install --no-deps git+https://github.com/m-bain/whisperx.git@v3.3.1
|
| 17 |
|
| 18 |
+
# 3. Manually install dependencies (PINNED for stability)
|
| 19 |
+
# We pin transformers to 4.35.2 so it doesn't demand PyTorch 2.2+
|
| 20 |
RUN pip install --no-cache-dir \
|
| 21 |
faster-whisper==1.1.0 \
|
| 22 |
+
transformers==4.35.2 \
|
| 23 |
+
tokenizers==0.15.0 \
|
| 24 |
nltk \
|
| 25 |
setuptools-rust
|
| 26 |
|