Update Dockerfile
Browse files- Dockerfile +12 -10
Dockerfile
CHANGED
|
@@ -30,23 +30,25 @@ RUN pip install --no-cache-dir \
|
|
| 30 |
torchcodec==0.6.0 \
|
| 31 |
--index-url https://download.pytorch.org/whl/cu128
|
| 32 |
|
| 33 |
-
#
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
# Install additional dependencies for specific model families
|
| 38 |
# - Voxtral requires mistral-common[audio]
|
| 39 |
# - soundfile for audio I/O
|
| 40 |
RUN pip install --no-cache-dir \
|
| 41 |
-
"mistral-common[audio]
|
| 42 |
soundfile
|
| 43 |
|
| 44 |
-
# Copy
|
| 45 |
-
COPY
|
| 46 |
-
COPY normalizer/ /app/normalizer/
|
| 47 |
-
|
| 48 |
-
# Default working directory for running transformers scripts
|
| 49 |
-
WORKDIR /app/transformers
|
| 50 |
|
| 51 |
# Default entrypoint
|
| 52 |
ENTRYPOINT ["bash"]
|
|
|
|
| 30 |
torchcodec==0.6.0 \
|
| 31 |
--index-url https://download.pytorch.org/whl/cu128
|
| 32 |
|
| 33 |
+
# Install common requirements (torch already installed above, pip will skip it)
|
| 34 |
+
RUN pip install --no-cache-dir \
|
| 35 |
+
transformers \
|
| 36 |
+
evaluate \
|
| 37 |
+
datasets \
|
| 38 |
+
librosa \
|
| 39 |
+
jiwer \
|
| 40 |
+
num2words \
|
| 41 |
+
peft
|
| 42 |
|
| 43 |
# Install additional dependencies for specific model families
|
| 44 |
# - Voxtral requires mistral-common[audio]
|
| 45 |
# - soundfile for audio I/O
|
| 46 |
RUN pip install --no-cache-dir \
|
| 47 |
+
"mistral-common[audio]==1.10.0" \
|
| 48 |
soundfile
|
| 49 |
|
| 50 |
+
# Copy the full repository
|
| 51 |
+
COPY . /app
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
# Default entrypoint
|
| 54 |
ENTRYPOINT ["bash"]
|