Update Dockerfile
Browse files- Dockerfile +10 -5
Dockerfile
CHANGED
@@ -19,9 +19,9 @@ COPY --chown=user . /app
|
|
19 |
ENV HF_HOME=/app/.cache
|
20 |
|
21 |
# GPU-freundliches Torch-Upgrade (falls gewünscht)
|
22 |
-
RUN pip install --no-cache-dir \
|
23 |
-
torch==2.3.1+cu121 torchaudio==2.3.1+cu121 \
|
24 |
-
--index-url https://download.pytorch.org/whl/cu121
|
25 |
|
26 |
RUN pip install --no-cache-dir vllm==0.4.2
|
27 |
|
@@ -30,9 +30,14 @@ COPY --chown=user requirements.txt .
|
|
30 |
RUN pip install --upgrade pip && \
|
31 |
pip install --no-cache-dir -r requirements.txt
|
32 |
|
33 |
-
RUN pip install --no-cache-dir "realtimetts[system]==0.3.1"
|
34 |
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
EXPOSE 7860
|
38 |
|
|
|
19 |
ENV HF_HOME=/app/.cache
|
20 |
|
21 |
# GPU-freundliches Torch-Upgrade (falls gewünscht)
|
22 |
+
#RUN pip install --no-cache-dir \
|
23 |
+
# torch==2.3.1+cu121 torchaudio==2.3.1+cu121 \
|
24 |
+
# --index-url https://download.pytorch.org/whl/cu121
|
25 |
|
26 |
RUN pip install --no-cache-dir vllm==0.4.2
|
27 |
|
|
|
30 |
RUN pip install --upgrade pip && \
|
31 |
pip install --no-cache-dir -r requirements.txt
|
32 |
|
33 |
+
RUN pip install --no-cache-dir "realtimetts[system]==0.3.1" --no-deps
|
34 |
|
35 |
+
# nur *diese* Engine-Pflicht nachliefern, aber ohne Resolver:
|
36 |
+
RUN pip install --no-cache-dir pyttsx3==2.90 --no-deps
|
37 |
+
|
38 |
+
# optional, um Warn-Spam zu reduzieren
|
39 |
+
RUN pip install --no-cache-dir azure-cognitiveservices-speech==1.33.0 --no-deps \
|
40 |
+
tqdm==4.66.1 --no-deps
|
41 |
|
42 |
EXPOSE 7860
|
43 |
|