Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +9 -1
Dockerfile
CHANGED
|
@@ -14,13 +14,21 @@ ENV GIT_COMMITTER_EMAIL="[email protected]"
|
|
| 14 |
|
| 15 |
# Instalar dependencias
|
| 16 |
COPY requirements.txt .
|
| 17 |
-
RUN apt-get update && apt-get install -y git wget ffmpeg libsndfile1 unzip build-essential\
|
| 18 |
&& mkdir -p /home/user/.cache/huggingface \
|
| 19 |
&& chmod -R 777 /home/user/.cache \
|
| 20 |
&& pip install --upgrade pip \
|
| 21 |
&& pip install --no-cache-dir -r requirements.txt \
|
| 22 |
&& rm -rf /var/lib/apt/lists/*
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
RUN mkdir /tmp/output_model
|
| 25 |
|
| 26 |
RUN pip show TTS
|
|
|
|
| 14 |
|
| 15 |
# Instalar dependencias
|
| 16 |
COPY requirements.txt .
|
| 17 |
+
RUN apt-get update && apt-get install -y git wget ffmpeg libsndfile1 unzip build-essential \
|
| 18 |
&& mkdir -p /home/user/.cache/huggingface \
|
| 19 |
&& chmod -R 777 /home/user/.cache \
|
| 20 |
&& pip install --upgrade pip \
|
| 21 |
&& pip install --no-cache-dir -r requirements.txt \
|
| 22 |
&& rm -rf /var/lib/apt/lists/*
|
| 23 |
|
| 24 |
+
RUN mkdir /tmp/TTS
|
| 25 |
+
|
| 26 |
+
RUN git clone --branch v0.22.0 https://github.com/coqui-ai/TTS.git /tmp/TTS \
|
| 27 |
+
&& cd /tmp/TTS \
|
| 28 |
+
&& git submodule update --init --recursive \
|
| 29 |
+
&& pip install --upgrade pip \
|
| 30 |
+
&& pip install --no-cache-dir -e .
|
| 31 |
+
|
| 32 |
RUN mkdir /tmp/output_model
|
| 33 |
|
| 34 |
RUN pip show TTS
|