Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -4,6 +4,9 @@ WORKDIR /home/user/app
|
|
| 4 |
ENV HOME="/home/user"
|
| 5 |
ENV HF_HOME="/home/user/.cache/huggingface"
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Instalar dependencias
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN apt-get update && apt-get install -y git wget ffmpeg libsndfile1 \
|
|
@@ -14,9 +17,6 @@ RUN apt-get update && apt-get install -y git wget ffmpeg libsndfile1 \
|
|
| 14 |
|
| 15 |
RUN pip install git+https://github.com/coqui-ai/[email protected]
|
| 16 |
|
| 17 |
-
# RUN git config --system user.email "[email protected]"
|
| 18 |
-
# RUN git config --system user.name "sob111"
|
| 19 |
-
|
| 20 |
# Copiar el resto del proyecto
|
| 21 |
COPY . .
|
| 22 |
|
|
|
|
| 4 |
ENV HOME="/home/user"
|
| 5 |
ENV HF_HOME="/home/user/.cache/huggingface"
|
| 6 |
|
| 7 |
+
# Fix: preparar gitconfig vacío para Dev Mode
|
| 8 |
+
RUN touch /home/user/.gitconfig && chmod 666 /home/user/.gitconfig
|
| 9 |
+
|
| 10 |
# Instalar dependencias
|
| 11 |
COPY requirements.txt .
|
| 12 |
RUN apt-get update && apt-get install -y git wget ffmpeg libsndfile1 \
|
|
|
|
| 17 |
|
| 18 |
RUN pip install git+https://github.com/coqui-ai/[email protected]
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
# Copiar el resto del proyecto
|
| 21 |
COPY . .
|
| 22 |
|