Update Dockerfile
Browse files- Dockerfile +10 -2
Dockerfile
CHANGED
|
@@ -16,7 +16,15 @@ USER root
|
|
| 16 |
RUN chmod +x ./ffmpeg
|
| 17 |
USER user
|
| 18 |
|
| 19 |
-
RUN
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
CMD ["gunicorn", "-b", "0.0.0.0:7860", "xtts:app", "--timeout", "120"]
|
|
|
|
| 16 |
RUN chmod +x ./ffmpeg
|
| 17 |
USER user
|
| 18 |
|
| 19 |
+
RUN mkdir tts
|
| 20 |
+
RUN curl -o tts/model.pth 'https://coqui.gateway.scarf.sh/hf-coqui/XTTS-v2/main/model.pth'
|
| 21 |
+
RUN curl -o tts/config.json 'https://coqui.gateway.scarf.sh/hf-coqui/XTTS-v2/main/config.json'
|
| 22 |
+
RUN curl -o tts/vocab.pth 'https://coqui.gateway.scarf.sh/hf-coqui/XTTS-v2/main/vocab.pth'
|
| 23 |
+
RUN curl -o tts/hash.md5 'https://coqui.gateway.scarf.sh/hf-coqui/XTTS-v2/main/hash.md5'
|
| 24 |
+
RUN curl -o tts/speakers_xtts.pth 'https://coqui.gateway.scarf.sh/hf-coqui/XTTS-v2/main/speakers_xtts.pth'
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
# RUN git clone --depth 1 https://huggingface.co/coqui/XTTS-v2/
|
| 28 |
+
# ENV MODEL_DIR=$HOME/XTTS-v2
|
| 29 |
|
| 30 |
CMD ["gunicorn", "-b", "0.0.0.0:7860", "xtts:app", "--timeout", "120"]
|