krstakis commited on
Commit
6eec947
·
1 Parent(s): 695d973

.................

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -14,8 +14,8 @@ COPY ./core ./core
14
  # Set the PYTHONPATH to include the /app directory
15
  ENV PYTHONPATH="/app"
16
 
17
- # Set the TRANSFORMERS_CACHE to a writable directory
18
- ENV TRANSFORMERS_CACHE="/app/cache"
19
 
20
  # Create the cache directory
21
  RUN mkdir -p /app/cache
@@ -47,8 +47,8 @@ COPY --from=core /app/core/engine.pickle /app/api/engine.pickle
47
  # Set the PYTHONPATH to include the /app directory
48
  ENV PYTHONPATH="/app"
49
 
50
- # Set the TRANSFORMERS_CACHE to a writable directory
51
- ENV TRANSFORMERS_CACHE="/app/cache"
52
 
53
  # Create the cache directory
54
  RUN mkdir -p /app/cache
 
14
  # Set the PYTHONPATH to include the /app directory
15
  ENV PYTHONPATH="/app"
16
 
17
+ # Set the HF_HOME to a writable directory
18
+ ENV HF_HOME="/app/cache"
19
 
20
  # Create the cache directory
21
  RUN mkdir -p /app/cache
 
47
  # Set the PYTHONPATH to include the /app directory
48
  ENV PYTHONPATH="/app"
49
 
50
+ # Set the HF_HOME to a writable directory
51
+ ENV HF_HOME="/app/cache"
52
 
53
  # Create the cache directory
54
  RUN mkdir -p /app/cache