Spaces:
Runtime error
Runtime error
LVKinyanjui
commited on
Commit
·
3922b26
1
Parent(s):
a8d6d0a
Used arguments to avoid repeating paths
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -2,10 +2,11 @@ FROM ghcr.io/swivid/f5-tts:main
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
-
|
6 |
-
|
|
|
7 |
|
8 |
-
ENV HF_HOME
|
9 |
# DO NOT USE: Depreccated
|
10 |
# ENV TRANSFORMERS_CACHE="/app/.cache"
|
11 |
|
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
ARG HF_HOME=/app/.cache
|
6 |
+
RUN mkdir ${HF_HOME} \
|
7 |
+
&& chmod 775 ${HF_HOME}
|
8 |
|
9 |
+
ENV HF_HOME=${HF_HOME}
|
10 |
# DO NOT USE: Depreccated
|
11 |
# ENV TRANSFORMERS_CACHE="/app/.cache"
|
12 |
|