Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -24,8 +24,10 @@ RUN apt-get update && apt-get install -y git && apt-get clean && rm -rf /var/lib
|
|
24 |
USER user
|
25 |
RUN git clone https://github.com/DrewThomasson/ebook2audiobook.git /home/user/ebook2audiobook
|
26 |
|
|
|
27 |
# Set the cloned repository as the base working directory
|
28 |
WORKDIR /home/user/ebook2audiobook
|
|
|
29 |
|
30 |
#Install Python dependences from the ebook2audiobook repo
|
31 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
@@ -33,9 +35,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
33 |
#Install the vietnamese coqui-tts
|
34 |
RUN pip install git+https://github.com/DrewThomasson/coqui-ai-TTS.git@dev
|
35 |
|
36 |
-
# Remove vietnamese from the xtts list
|
37 |
-
RUN sed -i '/"vie": "vi",/d' lib/lang.py
|
38 |
-
|
39 |
# Expose the required port
|
40 |
EXPOSE 7860
|
41 |
|
|
|
24 |
USER user
|
25 |
RUN git clone https://github.com/DrewThomasson/ebook2audiobook.git /home/user/ebook2audiobook
|
26 |
|
27 |
+
|
28 |
# Set the cloned repository as the base working directory
|
29 |
WORKDIR /home/user/ebook2audiobook
|
30 |
+
RUN git checkout viet_bandaid
|
31 |
|
32 |
#Install Python dependences from the ebook2audiobook repo
|
33 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
35 |
#Install the vietnamese coqui-tts
|
36 |
RUN pip install git+https://github.com/DrewThomasson/coqui-ai-TTS.git@dev
|
37 |
|
|
|
|
|
|
|
38 |
# Expose the required port
|
39 |
EXPOSE 7860
|
40 |
|