LVKinyanjui commited on
Commit
3922b26
·
1 Parent(s): a8d6d0a

Used arguments to avoid repeating paths

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -2,10 +2,11 @@ FROM ghcr.io/swivid/f5-tts:main
2
 
3
  WORKDIR /app
4
 
5
- RUN mkdir /app/.cache \
6
- && chmod 775 /app/.cache
 
7
 
8
- ENV HF_HOME="/app/.cache"
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