Natthathida commited on
Commit
1ac7839
·
verified ·
1 Parent(s): fa5e7ec
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -32,7 +32,8 @@ WORKDIR /app
32
  COPY --from=builder /app/build ./static
33
  COPY . .
34
 
35
- RUN export HF_HOME=${HOME}/cache
 
36
 
37
  CMD ["python", "app.py"]
38
 
 
32
  COPY --from=builder /app/build ./static
33
  COPY . .
34
 
35
+ # RUN export HF_HOME=${HOME}/cache
36
+ RUN export TRANSFORMERS_CACHE=/generate/cache/
37
 
38
  CMD ["python", "app.py"]
39