Spaces:
Sleeping
Sleeping
shriniket73
commited on
Commit
•
ec0a5dd
1
Parent(s):
8dbcfbe
Update Dockerfile
Browse files- Dockerfile +1 -5
Dockerfile
CHANGED
@@ -19,6 +19,7 @@ ENV XDG_CACHE_HOME=/tmp/cache
|
|
19 |
ENV HOME=/tmp/home
|
20 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
21 |
ENV TTS_HOME=/tmp/tts_home
|
|
|
22 |
|
23 |
# Create necessary directories with appropriate permissions
|
24 |
RUN mkdir -p /tmp/cache \
|
@@ -34,11 +35,6 @@ RUN mkdir -p /tmp/cache \
|
|
34 |
/tmp/tts_home \
|
35 |
/code/tts_cache
|
36 |
|
37 |
-
# Create TTS config directory and add license agreement
|
38 |
-
RUN mkdir -p /tmp/home/.local/share/tts && \
|
39 |
-
echo '{"tos_agreed": true}' > /tmp/home/.local/share/tts/.tts_model_args.json && \
|
40 |
-
chmod -R 777 /tmp/home/.local/share/tts
|
41 |
-
|
42 |
# Copy requirements first
|
43 |
COPY ./requirements.txt /code/requirements.txt
|
44 |
|
|
|
19 |
ENV HOME=/tmp/home
|
20 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
21 |
ENV TTS_HOME=/tmp/tts_home
|
22 |
+
ENV COQUI_TOS_AGREED=1
|
23 |
|
24 |
# Create necessary directories with appropriate permissions
|
25 |
RUN mkdir -p /tmp/cache \
|
|
|
35 |
/tmp/tts_home \
|
36 |
/code/tts_cache
|
37 |
|
|
|
|
|
|
|
|
|
|
|
38 |
# Copy requirements first
|
39 |
COPY ./requirements.txt /code/requirements.txt
|
40 |
|