Spaces:
Runtime error
Runtime error
File size: 858 Bytes
eb11b36 b18ec73 2619293 d20b113 9d73673 15a53a7 eb11b36 2619293 bd2f6c7 eb11b36 c1a56d3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
FROM python:3.11-slim
WORKDIR /home/user/app
# ENV HOME="/home/user"
ENV HOME="/tmp"
ENV HF_HOME="/home/user/.cache/huggingface"
# ⚡ Configuración de Git vía variables de entorno
ENV GIT_AUTHOR_NAME="sob111"
ENV GIT_AUTHOR_EMAIL="[email protected]"
ENV GIT_COMMITTER_NAME="sob111"
ENV GIT_COMMITTER_EMAIL="[email protected]"
# Instalar dependencias
COPY requirements.txt .
RUN apt-get update && apt-get install -y git wget ffmpeg libsndfile1 \
&& mkdir -p /home/user/.cache/huggingface \
&& chmod -R 777 /home/user/.cache \
&& pip install --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
RUN pip install git+https://github.com/coqui-ai/[email protected]
# Copiar el resto del proyecto
COPY . .
# Comando por defecto
# CMD ["python", "app.py"]
CMD ["python", "finetune_xtts_hf.py"]
|