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