doublelotus commited on
Commit
fcf0970
·
1 Parent(s): b635cba
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -11,8 +11,9 @@ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
11
  # Create the cache directory and set permissions
12
  RUN mkdir -p /code/transformers_cache && chmod -R 777 /code/transformers_cache
13
 
14
- # Set the TRANSFORMERS_CACHE environment variable
15
  ENV TRANSFORMERS_CACHE=/code/transformers_cache
 
16
 
17
  COPY . .
18
 
 
11
  # Create the cache directory and set permissions
12
  RUN mkdir -p /code/transformers_cache && chmod -R 777 /code/transformers_cache
13
 
14
+ # Set the TRANSFORMERS_CACHE and HF_HOME environment variables
15
  ENV TRANSFORMERS_CACHE=/code/transformers_cache
16
+ ENV HF_HOME=/code/transformers_cache
17
 
18
  COPY . .
19