Tomtom84 commited on
Commit
5d1b13c
·
verified ·
1 Parent(s): 7f73993

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- RUN pip install --no-cache-dir azure-cognitiveservices-speech==1.34.1
 
 
 
 
 
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