don0726 commited on
Commit
b2e7ff6
·
verified ·
1 Parent(s): 05bd071

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -8,12 +8,14 @@ COPY requirements.txt .
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
  # Pre-download XTTS model (ALL wget lines must be inside ONE RUN block)
 
11
  RUN mkdir -p models/xtts && \
12
  wget -O models/xtts/model.pth https://huggingface.co/coqui/XTTS-v2/resolve/main/model.pth && \
13
  wget -O models/xtts/config.json https://huggingface.co/coqui/XTTS-v2/resolve/main/config.json && \
14
  wget -O models/xtts/vocab.json https://huggingface.co/coqui/XTTS-v2/resolve/main/vocab.json && \
15
  wget -O models/xtts/speakers_xtts.pth https://huggingface.co/coqui/XTTS-v2/resolve/main/speakers_xtts.pth
16
 
 
17
  ENV COQUI_TOS_AGREED=1
18
  ENV GRADIO_SERVER_NAME=0.0.0.0
19
  ENV GRADIO_SERVER_PORT=7860
 
8
  RUN pip install --no-cache-dir -r requirements.txt
9
 
10
  # Pre-download XTTS model (ALL wget lines must be inside ONE RUN block)
11
+
12
  RUN mkdir -p models/xtts && \
13
  wget -O models/xtts/model.pth https://huggingface.co/coqui/XTTS-v2/resolve/main/model.pth && \
14
  wget -O models/xtts/config.json https://huggingface.co/coqui/XTTS-v2/resolve/main/config.json && \
15
  wget -O models/xtts/vocab.json https://huggingface.co/coqui/XTTS-v2/resolve/main/vocab.json && \
16
  wget -O models/xtts/speakers_xtts.pth https://huggingface.co/coqui/XTTS-v2/resolve/main/speakers_xtts.pth
17
 
18
+
19
  ENV COQUI_TOS_AGREED=1
20
  ENV GRADIO_SERVER_NAME=0.0.0.0
21
  ENV GRADIO_SERVER_PORT=7860