Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
FROM python:3.9-slim-buster
|
| 2 |
|
| 3 |
-
# Install system dependencies
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 5 |
build-essential \
|
| 6 |
cmake \
|
|
@@ -8,6 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 8 |
libblis-dev \
|
| 9 |
python3-dev \
|
| 10 |
wget \
|
|
|
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
# Set working directory
|
|
@@ -17,7 +18,8 @@ WORKDIR /app
|
|
| 17 |
ENV BLIS_ARCH="generic"
|
| 18 |
ENV COQUI_TTS_AGREED=1
|
| 19 |
|
| 20 |
-
# Install Coqui TTS directly
|
|
|
|
| 21 |
RUN pip install git+https://github.com/coqui-ai/TTS.git
|
| 22 |
|
| 23 |
# Install other dependencies
|
|
|
|
| 1 |
FROM python:3.9-slim-buster
|
| 2 |
|
| 3 |
+
# Install system dependencies including git
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 5 |
build-essential \
|
| 6 |
cmake \
|
|
|
|
| 8 |
libblis-dev \
|
| 9 |
python3-dev \
|
| 10 |
wget \
|
| 11 |
+
git \
|
| 12 |
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
|
| 14 |
# Set working directory
|
|
|
|
| 18 |
ENV BLIS_ARCH="generic"
|
| 19 |
ENV COQUI_TTS_AGREED=1
|
| 20 |
|
| 21 |
+
# Install Coqui TTS directly from GitHub
|
| 22 |
+
RUN pip install --upgrade pip
|
| 23 |
RUN pip install git+https://github.com/coqui-ai/TTS.git
|
| 24 |
|
| 25 |
# Install other dependencies
|